[androidTV] Scrollview still scrollable with dpad when scrollEnabled={false}
See original GitHub issueDescription
A scrollview with the scrollEnabled
prop set to false
still scrolls on tv remote dpad input on androidTV.
Also onScroll events are fired when the list is scrolled this way.
React Native version:
0.61.5
Expected Results
The scrollview should not scroll when scrollEnabled
is set to false, regardless of touch, mouse or dpad input.
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (2 by maintainers)
Top Results From Across the Web
Disable scrollview on Android tv - Stack Overflow
however I'm still able to scroll. This class seems to only work on touch devices, with android tv I use the directional key....
Read more >ScrollView // React Native for Web - GitHub Pages
When true , the scroll view snaps to individual items in the list when scrolling. scrollEnabled: ?boolean = true. When false , the...
Read more >ScrollView - Android Developers
For vertical scrolling, consider NestedScrollView instead of scroll view which ... This view is invisible, but it still takes up space for layout...
Read more >Common bugs in React Native ScrollView and how to fix them
After putting all those elements inside the ScrollView component, you can use it to scroll through them vertically (the default) or ...
Read more >ScrollView - React Native
This can improve scrolling performance on long lists. Type, Default. bool, false. scrollEnabled . When false, the view cannot ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@gedeagas Thanks for your comment, but that merge is also in the 0.61.5 release. Currently the
executeKeyEvent
method is overridden, but that does not seem to work correctly. I have overridden thedispatchKeyEvent
method with the same code, and that seems to work, but needs more testing@TheDuc have you set scrollEnabled={false} working great for me after setting this prop