You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(scrollView): reset scroll view when focusing non-keyboard element
Focusing a keyboard element sets `keyboardActiveElement`. If you blur,
this will trigger `resetScrollView` appropriately.
If you focus a non-keyboard element, `keyboardActiveElement` is set to
null *before* `keyboardHide` is called, so `resetScrollView` is not
triggered.
Mitigate this by keeping track of the last focused element to reset the
scroll view.
0 commit comments