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
When trying to press/trigger a Pressable/TouchableOpacity (nested inside a PagerView) using Detox's tap(), it doesn't fire the onPress handler. Detox finds the element and the "press" visual hint is visible on top of the button but the onPress is never fired.
Environment
Environment details
Description
When trying to press/trigger a Pressable/TouchableOpacity (nested inside a
PagerView) using Detox'stap(), it doesn't fire theonPresshandler. Detox finds the element and the "press" visual hint is visible on top of the button but theonPressis never fired.Using either
or
PagerViewdirectly doesn't make a difference.See attached video:
pager-view-no-onpress.mov
Reproducible Demo
I've attached a simple repo for reproducing the issue using the following:
To build and run use:
RN0835PagerViewDetox.zip