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