You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...that looks just like intended, but it doesn't behave like I want it to. I want to be able to dismiss it by swiping down. If I change to presentation modal I get the behaviour I'm after (at least when it comes to the dismiss swipe), but not the design.
How can I get the behaviour from modal and the presentation from transparentModal?
If swipe to dismiss has been intentionally disabled on transparentModal. Is there a reason for it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've got a transparentModal in React Native (expo app router)...
...that looks just like intended, but it doesn't behave like I want it to. I want to be able to dismiss it by swiping down. If I change to presentation modal I get the behaviour I'm after (at least when it comes to the dismiss swipe), but not the design.
I'm using...
"@react-navigation/native-stack": "^6.9.26",
So far I've tried...
gestureDirection: "vertical",
gestureEnabled: true,
... and doing a custom implementation of swipe to dismiss inside my modal. This works, but mine is not as good as the one in presentation:modal...
Beta Was this translation helpful? Give feedback.
All reactions