t4t5 / sweetalert

A beautiful replacement for JavaScript's "alert"
https://sweetalert.js.org
MIT License
22.4k stars 2.84k forks source link

second confirm click ignored #795

Open martinipsy opened 6 years ago

martinipsy commented 6 years ago

I set confirm button closeModal attribute to false. When I click on confirm, the loader animation starts, my code is executed, the loader animation stops, and my popup is still there. So far so good. I click confirm again, and even though the loader starts spinning, my code is completely ignored.

t4t5 commented 6 years ago

What "code" is it that you want to be executed? Could you post an example?

cnupy commented 6 years ago

Example https://jsfiddle.net/dnt714xh - just leave the text box empty

aasjpvm commented 5 years ago

something about that error, I experimented it, the same form in the cnupy example

cnupy commented 5 years ago

I've work around it like this https://jsfiddle.net/3jyz0vgh but issue is still present.