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

Add modal tab tracking #1403

Merged
merged 11 commits into from
Jul 7, 2023
Merged

Conversation

KonnorRogers
Copy link
Collaborator

@KonnorRogers KonnorRogers commented Jun 23, 2023

Fixes #1382
Fixes #1400

EDIT: So this PR works as expected. However, in Safari 16.4 none of the :focus-visible elements will show. This is a bug in Safari.

https://bugs.webkit.org/show_bug.cgi?id=258987
https://codepen.io/paramagicdev/pen/xxQXWbq?editors=1111

@vercel
Copy link

vercel bot commented Jun 23, 2023

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

Name Status Preview Updated (UTC)
shoelace ✅ Ready (Inspect) Visit Preview Jul 7, 2023 6:40pm

@KonnorRogers KonnorRogers changed the title add modal tab tracking [WIP]: add modal tab tracking Jun 23, 2023
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.

Approved with one small suggestion for the "polyfill" comment.

src/internal/modal.ts Outdated Show resolved Hide resolved
src/internal/tabbable.ts Outdated Show resolved Hide resolved
@claviska claviska changed the title [WIP]: add modal tab tracking Add modal tab tracking Jul 7, 2023
@KonnorRogers KonnorRogers merged commit 82446e2 into next Jul 7, 2023
1 check passed
@KonnorRogers KonnorRogers deleted the konnorrogers/fix-dialog-focus-trapping branch July 7, 2023 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants