Sweet Alert: trigger button keep on hovered state after closing the alert
This also happened in documentation demos:
Please help check and suggest a fix, thanks.
This is SweetAlerts normal behavior where it sets the toggle buttons state to focused.
You can disable this by using
returnFocus: false if you don't want to return the focus to the element that invoked the modal after the modal is closed.
For more info please check the plugin's documentation here.