-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
disable transition animation for a specific scene #2838
Comments
In your transitionConfig, apply |
That doesn't resolve my issue :/ @Blapi Like I said before, it only works |
I tried this solution from #2628 But like I said, it works ok when you do push, but when it does pop it makes all the transitions from all scenes you passed through ... and it looks weird. |
If there is not transition in push, there will be no transition in pop. Show me your transitionConfig and the steps of your navigation. |
Reviewing my navigation stack, I managed to resolve it at last. It looks like there was something wrong on the way I was nesting my scenes. Anyway I had to put it on my root scene, but at least now works and doesn't look weird. |
Version
Tell us which versions you are using:
Expected behaviour
Duration to 0 on scene should remove transition animation
Actual behaviour
With
duration={0}
nothing happens. I also tried withtransitionConfig
on the desired scene, but it only works when it is on the root scene.I want to disable transition animation but only for a specific scene, not all of them.
I tried to search some fix and found #2628 but, when it pops, it applies all the transitions of all the scenes I passed through, I mean, if I did Login -> Scene1 -> Scene2 then it will apply Transition from Login-> Transition from Scene 1 -> Transition from Scene 2, instead just one which it is what I want.
Steps to reproduce
duration={0}
ortransitionConfig
on a scene and it won't workThe text was updated successfully, but these errors were encountered: