ScrollView doesn't scroll to focused element #28509
Labels
Component: ScrollView
Help Wanted
Issues ideal for external contributors.
Needs: Attention
Issues where the author has responded to feedback.
Newer Patch Available
Platform: Android
Android applications.
Environment
Android API: 28
Device: AndroidTV emulator and Xiaomi MI BOX
React Native: 0.61.5
Description
Sometimes ScrollView doesn't scroll to currently focused element on AndroidTV devices. Looks like issue is triggered because of two scroll events, one from ReactScrollView.java arrowScroll method and one from requestChildFocus. Issue seems to occur only when scrolling on the bottom of ScrollView.
React Native version:
"0.61.5"
Steps To Reproduce
Expected Results
Scroll follows focused element
Snack, code example, screenshot, or link to a repository:
App.ts example:
In gif below i navigated up and down only:
The text was updated successfully, but these errors were encountered: