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

Cannot open dialog immediately after swal.close() #492

Closed
fracz opened this issue Dec 11, 2015 · 4 comments
Closed

Cannot open dialog immediately after swal.close() #492

fracz opened this issue Dec 11, 2015 · 4 comments

Comments

@fracz
Copy link

fracz commented Dec 11, 2015

Consider this code:

swal.close();
swal('The dialog');

It does not show "The dialog".

@lukedesu
Copy link

lukedesu commented May 3, 2016

same here, currently I use setTimeout to show dialog box.

swal.close();
setTimeout(function () {
  swal('The dialog');
}, 500)

@fracz
Copy link
Author

fracz commented May 3, 2016

Consider using sweetalert2 - it does not suffer from this.

@lukedesu
Copy link

lukedesu commented May 3, 2016

thanks @fracz
sweetalert2 is awesome and looks it all fit my needs.
thank you guys

@t4t5
Copy link
Owner

t4t5 commented Sep 8, 2017

Fixed in 2.0. Make sure you read the upgrade guide!

@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