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

[BUG] closeOnConfirm to false break tab button #544

Closed
Buom01 opened this issue Feb 28, 2016 · 3 comments
Closed

[BUG] closeOnConfirm to false break tab button #544

Buom01 opened this issue Feb 28, 2016 · 3 comments

Comments

@Buom01
Copy link

Buom01 commented Feb 28, 2016

Hi,
I find a bug (tested in firefox):
in a form, you can press tab to go to the next input, but after this code:

swal({
    title: "Simple question",
    closeOnConfirm: false,
},function(){
    window.setTimeout(function(){
        swal("Simple confirmation", "and tab breaking", "success");
    },0);
});

you can't use tab button in form anymore :(

@Buom01
Copy link
Author

Buom01 commented Feb 28, 2016

Temporary solution find in: #391

@alex-shamshurin
Copy link

The same issue is here. Solution is window.onkeydown = null in onClose callback

@t4t5
Copy link
Owner

t4t5 commented Sep 8, 2017

Closing since it's a duplicate of #391. Will investigate soon.

@t4t5 t4t5 closed this as completed Sep 8, 2017
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

No branches or pull requests

3 participants