Skip to content
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

Make dialog overlay non focusable #344

Merged
merged 1 commit into from Feb 24, 2021
Merged

Make dialog overlay non focusable #344

merged 1 commit into from Feb 24, 2021

Conversation

perkrlsn
Copy link
Contributor

If you click the overlay in the ignore clicks on the overlay demo you can no longer press escape to close the modal since the overlay has been focused.

If you click the overlay in the [ignore clicks on the overlay](https://shoelace.style/components/dialog?id=ignoring-clicks-on-the-overlay) demo you can no longer press escape to close the modal since the overlay has been focused.
@vercel
Copy link

vercel bot commented Feb 23, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/shoelace/shoelace/DSc49rfuk9dJ9xiN5XrJf8VNHLU2
✅ Preview: https://shoelace-git-fork-perkrlsn-patch-1-shoelace.vercel.app

Copy link
Member

@claviska claviska left a comment

Choose a reason for hiding this comment

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

Nice catch. Thanks, Per!

@claviska claviska merged commit b150780 into shoelace-style:next Feb 24, 2021
@claviska
Copy link
Member

I'm also going to fix this in sl-drawer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants