-
-
Notifications
You must be signed in to change notification settings - Fork 99
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
Support ModalPresentationIOS transition preset #23
Comments
I've investigated the issue further and noticed that this bug only appears when using the <SharedElementStack.Navigator
mode="modal"
screenOptions={{
gestureEnabled: false,
cardOverlayEnabled: true,
...TransitionPresets.ModalPresentationIOS, // <-- this right here
}}
... |
Hi 👋This problem appears to be on the native side and is has to do with additional "transforms" applied by the ModalPresentationIOS. Unfortunately ModalPresentationIOS wont work at the moment. |
I've moved this issue here 👍 |
+1 |
1 similar comment
+1 |
TransitionPresets.ModalSlideFromBottomIOS works better for now as a workaround |
Status update: This preset still doesn't work on both Android and iOS. Some glitches have been resolved with regards to vertical translations, but the top position is still not obtained correctly. |
The animation begins smoothly, but when the animation finishes, the items (
SharedElement
s) are off by some pixels which causes this stuttering glitch. This issue only appears when using theModalPresentationIOS
transition preset. All other presets work fine.Demo here:
My Navigator:
I've tried playing around with the
animation
property, but I can't seem to get it working with this animation I found in the example project (springyFadeIn.js
):Packages used:
I don't know if that's a bug in the library or if I am making a mistake, would appreciate some help here!
The text was updated successfully, but these errors were encountered: