Interface IScrollableView4
interface IScrollableView4
Extends IScrollableView3
IScrollableView4 interface extends IScrollableView3 and adds control over
focus-driven auto-scrolling behavior.
Methods
setAutoScrollOnFocus()
Enables or disables auto-scrolling on focus. When enabled, the scrollable view automatically scrolls to bring a focused descendant child into the visible viewport. When disabled, gaining focus on a descendant does not trigger any automatic scroll adjustment. Note: If scrolling is disabled viavoidsetAutoScrollOnFocus(boolenabled)
IScrollableView3::setScrollEnabled, a focused
descendant will not be auto-scrolled regardless of the value passed here.
Parameters
enabled
bool — Required
true to enable auto-scrolling on focus, false to disable it.
The default value is false.

