Topbar clicks are passing through to the screen underneath the modal
What happened?
It seems since we upgraded to react-native-navigation 7.40.1 and react-native 0.73.9 we are able to click top bar buttons through modals.
We used modal presentation style: modalPresentationStyle: Platform.OS === 'ios' ? overFullScreen : overCurrentContext,
What was the expected behaviour?
We should not be able to click through a modal.
Was it tested on latest react-native-navigation?
- [X] I have tested this issue on the latest react-native-navigation release and it still reproduces.
Help us reproduce this issue!
I tried to run the playground project but it has 110 errors compiling typescript...
In what environment did this happen?
React Native Navigation version: 7.40.1 React Native version: 0.73.9 Has Fabric (React Native's new rendering system) enabled: (yes/no) No Node version: 18.19.1 Device model: Android Simulator + Motorola G54 5G Android version: 14
Seems to be related to ModalPresentationStyle overCurrentContext, I managed to work around by making sure any modal with overCurrentContext (used for transparent background) is fully dismissed before opening any modal on top, if I didn't it would reproduce again.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest version and report back. Thank you for your contributions.
Not stale...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest version and report back. Thank you for your contributions.
Not stale.
The issue has been closed for inactivity.
Not stale
@gosha212 or @d4vidi can this be reopened?
@Alberto-BaseNet We are busy with RN77. Contribution is more than welcomed
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest version and report back. Thank you for your contributions.
not stale.
The issue has been closed for inactivity.
not stale
@Alberto-BaseNet is it still reproducible on the latest version of RNN with new arch?
We are trying to update to latest RNN and RN 0.77 but are running into https://github.com/wix/react-native-navigation/issues/8026 @gosha212