-
Notifications
You must be signed in to change notification settings - Fork 298
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
CloseOnOverlayTap not working for Android when inside Portal component #253
Comments
@Dharmi201 Were you able to fix it? |
The same problem but my Modalize is not inside . |
Yeah, I also have this problem. The modal seems to close only on BACK. Swipe down, tap on overlay don't work.. Did someone find a workaround? |
Had the same issue; Modal worked with back button and swipe up/down didn't work neither tap overlay. |
@NickM101 , If I understand right, what I have to do is to make sure I have the latest I'm a bit stuck as I already had the latest libraries installed and android built with them. I use |
@jeremybarbet could you please share your thoughts about this? |
What worked for me was to put my entire app inside I'm using react-native-gesture-handler version 2.6.2 |
Describe the bug
Tapping on Overlay doesn't close the modal when inside Portal
Reproduce
<Portal> <Modalize overlayStyle={{backgroundColor: 'blue'}} closeOnOverlayTap={true} scrollViewProps={{scrollEnabled: false, bounces: true}} modalStyle={{backgroundColor: themeContext.background}} modalHeight={400} withHandle={true} snapPoint={280} ref={modalizeRef}> <MyComponent /> // Has Touchable Opacity button inside it </Modalize> </Portal>
Dependencies:
The text was updated successfully, but these errors were encountered: