Viewport.getScrollToFocus

bool getScrollToFocus()

Gets whether the viewport is scrolling to keep the focused child in view.

Returns

true if the viewport keeps the focus child scrolled to view