-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Labels
package: core@ionic/core package@ionic/core packagetype: buga confirmed bug reporta confirmed bug report
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
- Nightly
Current Behavior
Using the ion-datetime-button in combination with inline ion-modal creates infinite nested ion-page elements after opening and closing it multiple times.
Expected Behavior
The ion-page element must not be rendered or only rendered once.
Steps to Reproduce
- https://ionicframework.com/docs/api/datetime-button#basic-usage
- Open the browser's inspector
- Inspect 'ion-modal' in the StackBlitz example
- Verify there is no ion-page element rendered
- Toggle the datetime selector multiple times
- Inspect 'ion-modal' in the StackBlitz example again
Code Reproduction URL
No response
Ionic Info
Example code from the Ionic docs
Additional Information
No response
Metadata
Metadata
Assignees
Labels
package: core@ionic/core package@ionic/core packagetype: buga confirmed bug reporta confirmed bug report

