Skip to content
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

useScreens on Android swallows all Touchable onPresses on transitioned screen #197

Open
dested opened this issue Jun 9, 2019 · 8 comments

Comments

@dested
Copy link

dested commented Jun 9, 2019

When using FluidNavigator, if I have react-native-screens linked and use'd, when I transition from Page1 to Page2 I can not tap anything. It seems the ScreenContainer that is overlaid on top is capturing my clicks. Interestingly, all of my pan gestures work on Page2, but no onPress's make it through. If I remove useScreen() it works flawlessly, and this behavior is only affecting android (api 28, but I doubt that matters).

Any thoughts?

@tuvshinbatgeru
Copy link

Same issue appears.

RN-0.59.9
Fluid-0.3.2

@tuvshinbatgeru
Copy link

@chrfalch any advise

@tuvshinbatgeru
Copy link

As @dested mentioned above removing useScreen() works fine.

@jrwpatterson
Copy link

jrwpatterson commented Jun 21, 2019 via email

@chrfalch
Copy link
Contributor

I don't have any advice here - could anyone help and see? We've had the same issue with the latest version of screens so we are using "^1.0.0-alpha.16" in our projects - and we can verify that it works with this version. There is also an issue in the react-native-screens repo about this: software-mansion/react-native-screens#61

@vinceprofeta
Copy link

@chrfalch Do you know if this has been resolved?

@emeraldsanto
Copy link

Disabling touch events during transition is by design but I found a way to enable them (although it requires to edit native code) and posted it on a react-native-screens issue here.

@matthias-pichler-warrify

I have the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants