Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information