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

[CHUX-295] Force ec-modal to trap focus #1910

Merged
merged 4 commits into from
Apr 5, 2024

Conversation

wolandec
Copy link

@wolandec wolandec commented Apr 4, 2024

Considering that modal should always trap the focus(as it is modal nature), even if ec-modal component somehow loses it, we add this continious activation of focusTrap to ensure that modal always traps focus back.

Copy link

vercel bot commented Apr 4, 2024

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

Name Status Preview Comments Updated (UTC)
chameleon ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 5, 2024 11:15am

@wolandec wolandec merged commit b0c6022 into master Apr 5, 2024
5 checks passed
@wolandec wolandec deleted the CHUX-295-force-modal-focus-trap branch April 5, 2024 11:17
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.

3 participants