I’m not familiar with the “sweetalert”, but technically it occurs, because there is no good option to "pause the event execution in javascript, so the modal “swal” doesn’t do this, it’s expected behavior.
Looks like the thing that you have to do, is to add an event manually on then “ok” button callback. I’m not ok with this library, and can’t provide a ready solution for it, but you can read about a similar problem(with our modal box) by the following link:
Here is a demo with an example of the solution(hope it will work with the “swal” the same as with our modal box(drag event to the different section to check how it works): http://snippet.dhtmlx.com/5/fca22f33c
Kind regards,
1 Like
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan