-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Taps on a View with RNGH do not work as expected when the app is started with Detox #4194
Closed
1 of 2 tasks
Comments
This was referenced Oct 16, 2023
I have following layout. The taps does not work because of the Animated.View. If i remove the animated view the tap works. import Animated, { useAnimatedStyle } from 'react-native-reanimated';
...
<Animated.View style={animatedStyle}>
<TouchableOpacity onPress={toggleExpand} testID="EXPAND_CALENDAR_BUTTON">
<Icon />
</TouchableOpacity>
</Animated.View> |
asafkorem
added a commit
that referenced
this issue
Oct 30, 2023
Addresses synchronization problem reported on: #4194 Bypass perform-selector sync in a unique scenario stemming from react-native-gesture-handler. This is a temporary solution, specifically addressing this case. A comprehensive fix is in the pipeline, but for the moment, this resolves the isolated occurrence.
asafkorem
added a commit
that referenced
this issue
Oct 30, 2023
Addresses synchronization problem reported on: #4194 Bypass perform-selector sync in a unique scenario stemming from react-native-gesture-handler. This is a temporary solution, specifically addressing this case. A comprehensive fix is in the pipeline, but for the moment, this resolves the isolated occurrence.
It should be fixed once the patch version containing #4258 is released. I will provide updates on this issue. |
noomorph
pushed a commit
that referenced
this issue
Oct 30, 2023
Addresses synchronization problem reported on: #4194 Bypass perform-selector sync in a unique scenario stemming from react-native-gesture-handler. This is a temporary solution, specifically addressing this case. A comprehensive fix is in the pipeline, but for the moment, this resolves the isolated occurrence.
cc @ggilles (please check Detox 20.13.4) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
We're using RNGH to handle taps in views in our react-native app.
When using it manually it works well.
When trying to test the app with Detox, after a first single tap, following taps seem to be ignored.
What was the expected behaviour?
We would have expected that Detox does not prevent to detect taps on the view.
Was it tested on latest Detox?
Did your test throw out a timeout?
Help us reproduce this issue!
I tried the DetoxTemplate project but it did not really work (
npm install
hanged). And since I don't have that much time and I'm no expert in this, I preferred to do a brand new repo that reproduces the issue.It is here: https://github.com/JulienFremyMP/DetoxApp
See its README to reproduce the issue.
In what environment did this happen?
Detox version: 20.12.0
React Native version: 0.72.4
Has Fabric (React Native's new rendering system) enabled: no
Node version: v18.17.1
Device model: iPhone SE (3rd generation)
iOS version: 17.0
macOS version: 13.5.2
Xcode version: 15.0
Test-runner (select one): jest
Detox logs
Detox logs
Device logs
Device logs
More data, please!
No response
The text was updated successfully, but these errors were encountered: