Open RGDEV2022 opened 2 years ago
Package versions:
"expo": "^45.0.0", "react-native": "0.68.2", "react-native-toast-message": "^2.1.5", "@react-navigation/drawer": "^6.4.3", "@react-navigation/native": "^6.0.2", "@react-navigation/native-stack": "^6.1.0", "@react-navigation/stack": "^6.2.3",
Seems to be an issue with using react native navigation native-stack
on ios
since the whole card (modal) is a target to pull down to dismiss. This interferes with the toast message swipe gesture.
Any way to solve this? Maybe a callback for the toast where you can know when the toast is being swiped so that gestures for the modal can be disabled?
Can't dismiss the toast inside a react navigation modal
presentation:'modal'
Steps to reproduce the behavior:
Video attached
I have included
<Toast />
insideApp.tsx
and after theNavigatorContext
Anyone know what's going on here, the gesture to dismiss downwards is interfering with the modals pull down to dismiss.
Thanks!