Consider this code:
swal.close();
swal('The dialog');
It does not show "The dialog".
same here, currently I use setTimeout to show dialog box.
swal.close();
setTimeout(function () {
swal('The dialog');
}, 500)
Consider using sweetalert2 - it does not suffer from this.
thanks @fracz
sweetalert2 is awesome and looks it all fit my needs.
thank you guys
Fixed in 2.0. Make sure you read the upgrade guide!
Most helpful comment
Consider using sweetalert2 - it does not suffer from this.