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

Don't handle key events if theres no modal open. #462

Closed

Conversation

abimaelmartell
Copy link

After opening (then closing) two modals at the same time, the TAB key stops working as expected.

swal('adsa'); swal('asdads');
// then click ok

This PR adds a check for a open modal before doing anything on the keydown event.

@abimaelmartell
Copy link
Author

Should i include the generated changes from dist and lib? The gulp task did some changes there.

@Stichoza
Copy link

Does it fix #127?

@abimaelmartell
Copy link
Author

yes

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