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
bug: react/vue, rendering modal within nav does not bind events #27843
Comments
I found that ion-modal is using
|
Any updates on this one or tips for a workaround? |
I've been struggling with the same issue recently. The workaround I found to enable the usage of IonNav is as follows: (Note: I had actually re-implemented much of my project to use IonNav before I discovered this issue.)
So, what I'm doing is adding a nested IonNav for the modal, and it works perfectly. This has been the easiest workaround I've found. |
Confirming that this also reproduces in Vue, but not Angular (including standalone). |
Prerequisites
Ionic Framework Version
v7.x
Current Behavior
Modal content does not respond to click events.
Expected Behavior
Modal content should be able to respond to click events.
Steps to Reproduce
Code Reproduction URL
https://stackblitz.com/edit/stackblitz-starters-xh6gbc
Ionic Info
Ionic:
Ionic Framework : @ionic/react 7.1.3
System:
NodeJS : v16.19.1
npm : 8.19.3
OS : macOS
Additional Information
No response
The text was updated successfully, but these errors were encountered: