Skip to content

bug: react/vue, rendering modal within nav does not bind events #27843

@zhbhun

Description

@zhbhun

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

  1. Create a new demo by react and ionic v7.
  2. Using IonNav to manage route.
  3. Adding a modal in page of IonNav.
  4. Listen click event of modal content.
  5. Try click modal content.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions