-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
Shared element with placement shifting with 'modal' #264
Comments
Solved by applying this: But maybe it should be included in the lib? |
Reopening since the found solution is for a fade transition and not the regular modal transition. |
@ejkkan I have the same problem, did you find any workaround or alternative? |
Hello @ejkkan, hello @joaquinperezlopez , I'm sorry you're facing this UI issue. I see you saw the comment about adding Going ove the @react-navigation source I found there are other modal-related transitions: https://github.com/react-navigation/react-navigation/blob/main/packages/stack/src/TransitionConfigs/TransitionPresets.tsx#L135 Can you try the following solution:
(import or clone ModalFadeTransition from @react-navigation/stack package) |
Hey, I'm using shared elements between multiple different screens. But If I try to use shared elements pushing in to a modal type screen('presentation: 'modal'), the transition between screens the animation is a bit off and then skips into the correct position.
Please see video.
shared.transition.bug.mov
The text was updated successfully, but these errors were encountered: