-
-
Notifications
You must be signed in to change notification settings - Fork 492
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
Push animation between screens not working #702
Comments
Can you provide a repo/snack with minimal configuration needed to reproduce the issue? |
Same here since I updated from version 2.12. Going to a new screen doesn't show an animation anymore. Navigating back to a screen shows an animation though. |
@dylancom please provide a repo that shows this bug so I can work on it. |
@WoLewicki I created a repo that shows the bug (iOS): https://github.com/dylancom/react-native-screens-animation-bug. It seems to happen when you use the "modal stack" pattern: https://reactnavigation.org/docs/modal#creating-a-modal-stack. |
@dylancom hey thanks for that, I'm using exactly the same thing too. |
I tested the reproduction and I can spot this bug too. Until we find the solution, the workaround is to set |
This is the version that was working for me:
I recently updated to this version and on iOS, navigation no longer has any animation, it happens instantly:
I have deleted Podfile.lock and
npx pod-install ios
, still not work.When I changed
createNativeStackNavigator()
tocreateStackNavigator()
, it worked fine again with animation.Please let me know if it's a bug or what config I need to use to have the slide (push) animation?
The text was updated successfully, but these errors were encountered: