New features
- add
keydownListenerCapture
boolean param, defaultfalse
keydownListenerCapture
is useful for those who are using SweetAlert2 along with Bootstrap modals. By default keydownListenerCapture
is false
which means when a user hits Esc, both SweetAlert2 and Bootstrap modals will be closed. Set keydownListenerCapture
to true
to fix that behavior.