fix(overlays): do not overwrite id set in htmlAttributes#29722
fix(overlays): do not overwrite id set in htmlAttributes#29722sean-perkins merged 11 commits intoionic-team:mainfrom
Conversation
# Conflicts: # core/src/components/alert/test/alert-id.spec.tsx
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@sean-perkins I've created this PR to fix #29712 , but something I noticed is that the overlay ID is being used in the picker-legacy component, but not in the the new picker component. |
|
@mikelhamer great observation, you are correct in your current implementation pattern. |
|
Awesome! The more you know... 🌈 ⭐️ |
…ot overwritten when it has an integer value of 0 Co-authored-by: Sean Perkins <13732623+sean-perkins@users.noreply.github.com>
sean-perkins
left a comment
There was a problem hiding this comment.
Awesome 👏 thanks for knocking these out!
|
My pleasure! It was an awesome learning experience. |
brandyscarney
left a comment
There was a problem hiding this comment.
Thank you for the PR! Great work. 🎉
|
Thank you! 🚀 |
Issue number: resolves #29712
What is the current behavior?
In every type of overlay, the auto incremented overlay id is overwriting any id set in htmlAttributes.
What is the new behavior?
The id in htmlAttributes now takes precedence.
Does this introduce a breaking change?
Other information