-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
fix(overlays): assign incremental id to overlay host #27278
Conversation
Run & review this pull request in StackBlitz Codeflow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me know if anyone else feels like a fixture would be useful here for the repeat overlay tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to go after the two comments are addressed.
Issue number: Internal
What is the current behavior?
The counter for incrementing the
id
andz-index
of an overlay is incremented whenever theconnectedCallback
is fired for an overlay.When an overlay is presented and/or conditionally rendered, the overlay
id
can increment byn+2
instead ofn+1
.What is the new behavior?
ion-modal-{id}
andion-popover-{id}
logic0
Does this introduce a breaking change?
Other information