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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(modal): focus is now trapped inside any opened modal #2441

Closed
wants to merge 1 commit into from

Conversation

benouat
Copy link
Member

@benouat benouat commented Jun 8, 2018

Everything is in the title. 馃帄 馃帀

Just using the focustrap that landed in #2419.
Also updated the first modal demo to contains more focusable elements.

馃毃Disclaimer馃毃: I know there is no test, but there absolutely no point (and also no proper way) to write sane unit test for that. As soon as #2335 lands, I will then add plenty of Protractor tests.

Closes #642

Copy link
Member

@maxokorokov maxokorokov left a comment

Choose a reason for hiding this comment

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

LGTM

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.

None yet

2 participants