Open jts04 opened 7 years ago
I'm currently using Sweetalert with Phaser, game engine.
Phaser works only when it gets focus of window. So there is a problem since Sweetalert change window.onfocus and doesn't restore that.
I guess the solution is simple :
Yep I have the same issue.
When SweetAlert closes, document.activeElement is
document.activeElement
<input class="swal-content__input" placeholder>
I'm currently using Sweetalert with Phaser, game engine.
Phaser works only when it gets focus of window. So there is a problem since Sweetalert change window.onfocus and doesn't restore that.
I guess the solution is simple :