Describe the bug
Cannot hide toast and click any view below it (Example: Header back button in video clip). And when I swipe up to hide the toast but the toast still appear again if I swipe down (cannot hide it and press the view below).
Steps to reproduce
I put the toast view out side of NavigationContainer then i see this issue.
Expected behavior
The toast should update pointer-event to 'none' whenever isVisible = false
Code sample
I suggest solution to fix this
Update file react-native-toast-message/lib/src/components/AnimatedContainer.js
Line 78
pointerEvents={'box-none'} change to pointerEvents={isVisible ? 'box-none' : 'none'}
Environment (please complete the following information):
Describe the bug Cannot hide toast and click any view below it (Example: Header back button in video clip). And when I swipe up to hide the toast but the toast still appear again if I swipe down (cannot hide it and press the view below).
https://user-images.githubusercontent.com/29383299/206866219-d99cf0e4-49d5-42b7-8c53-4dba1e71ea0c.mov
Steps to reproduce I put the toast view out side of NavigationContainer then i see this issue.
Expected behavior The toast should update pointer-event to 'none' whenever isVisible = false
Code sample I suggest solution to fix this Update file react-native-toast-message/lib/src/components/AnimatedContainer.js Line 78
pointerEvents={'box-none'}
change topointerEvents={isVisible ? 'box-none' : 'none'}
Environment (please complete the following information):