I just changed from using SweetAlert to SweetAlert 2. It took a while to get around but I achieved what I wanted except one thing.
As soon as I open the modal, if there is 1 button and no inputs, etc., the button gets highlighted like this:
Is there a way to stop it getting highlighted before any interaction is made button?
Update:
just add this code into your css
button.swal2-styled {
outline: none;
}