-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Description
- Framework7 version: 9.0.1
- Platform and Target: iOS 26.1
- Live Link or CodeSandbox: https://codesandbox.io/p/devbox/54cd4y or the code in sandbox.zip
Describe the bug
After upgrading to Framework7 9.0, I found that the popover seems to trigger popoverOpened twice because of the following code. This causes the click handler to be registered twice.
After switching to other pages, any click attempts to interact with a destroyed popover, which then leads to errors, and popovers on subsequent pages can no longer be closed by tapping the backdrop.
To Reproduce
Steps to reproduce the behavior:
- Open the above CodeSandbox link
- Click '1, First Show Popover'
- Click '2, Then Go to Page2'
- Click '3, Then Go to Page3'
- Click '4, Then Show Popover'
- Then, you will see the below error in the console, and you cannot close the popover by clicking the backdrop
Expected behavior
Can close popover by clicking backdrop.
Actual Behavior
See above
Screenshots
See above
Additional context
See above
Metadata
Metadata
Assignees
Labels
No labels