I am using Sweet Alert for a popup on my product view in an E-commerce Application with two buttons: one for going on cart View and another for reloading the vi
If you are using Sweet Alert 2, you can use this configuration
allowOutsideClick: false
This should work.