Before 4.6.2, this property was mistakenly defaulting to FALSE, so if your code needs to work with older versions, consider setting it explicitly to TRUE.
Viewport.scrollToFocus
bool scrollToFocus() @property nothrowGet scrollToFocus property.
Returns
Whether to scroll when the focus changes.
void scrollToFocus(bool propval) @property nothrowSet scrollToFocus property.
Parameters
propval | Whether to scroll when the focus changes. Before 4.6.2, this property was mistakenly defaulting to FALSE, so if your code needs to work with older versions, consider setting it explicitly to TRUE. |