Skip to content

Conversation

shleewhite
Copy link
Contributor

@shleewhite shleewhite commented Apr 21, 2025

📌 Summary

If merged, this PR would replace the last instance of this.isOpen with this._isOpen. This fixes an issue where clicking anywhere on the page dismisses the inline modals and blocks you from being able to click the demo buttons to open modals.

Preview showcase page

Steps to reproduce bug:

  • Open the prod showcase modal page
  • Click anywhere on the page
  • Notice that the last inline modal under the "Footer" heading disappears
  • Click one of the buttons under the "Demo" heading
  • Notice the modal doesn't open and another one of the inline modals under the "Footer" heading disappears

🔗 External links

Jira ticket: HDS-4714


👀 Component checklist

💬 Please consider using conventional comments when reviewing this PR.

Copy link

vercel bot commented Apr 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
hds-showcase ✅ Ready (Inspect) Visit Preview Apr 21, 2025 4:21pm
hds-website ✅ Ready (Inspect) Visit Preview Apr 21, 2025 4:21pm

@shleewhite shleewhite marked this pull request as ready for review April 21, 2025 16:30
@shleewhite shleewhite requested a review from a team as a code owner April 21, 2025 16:30
@shleewhite shleewhite changed the title Modal: replace last instance of this.isOpen with this._isOpen Modal: replace last instance of this.isOpen with this._isOpen Apr 21, 2025
Copy link
Contributor

@dchyun dchyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must have missed this during my private props updates. Thanks for catching it!

@shleewhite shleewhite merged commit 3220e0c into main Apr 22, 2025
15 of 16 checks passed
@shleewhite shleewhite deleted the hds-4714/modal-showcase branch April 22, 2025 14:01
@hashibot-hds hashibot-hds mentioned this pull request Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants