Hover
nested in ScrollView
and scrolling ScrollView
not working simultanously on Android
#3064
Labels
Platform: Android
This issue is specific to Android
Repro provided
A reproduction with a snack or repo is provided
Description
I'm trying to use
Gesture.Hover
in order to visualize hover effects with external mouse usage on react-native mobile (non-web).I have a (global)
ScrollView
that wraps screens, that might include interactive elements (such asPressable
s). ThesePressable
s need to be visible via mouse hover. The problem is, that theGestureDetector
appears to interfer with scrolling events. I have tried settingsimultaneousWithExternalGesture
with a ref to the scrollview, but that doesn't seem to change anything.This does not apply to iOS. Everything works fine there.
Other (related) issues tend to focus on conflicting
Gesture.Pan
, but I'm having trouble withHover
as well.related issues: #2496, #2616
also, here's a video demonstrating the below snack example:
screen-20240823-114218.2.mp4
Steps to reproduce
GestureDetector
)GestureDetector
, settingGesture.Hover
GestureDetector
alternatively, open up the below Expo Snack and scan with Expo Go
Snack or a link to a repository
https://snack.expo.dev/@d.timur/biased-indigo-cheese
Gesture Handler version
2.16.1
React Native version
0.74.5
Platforms
Android
JavaScript runtime
None
Workflow
Expo managed workflow
Architecture
None
Build type
Debug mode
Device
Real device
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: