notiflix / Notiflix

Notiflix is a pure JavaScript library for client-side non-blocking notifications, popup boxes, loading indicators, and more that makes your web projects much better.
https://notiflix.github.io
MIT License
649 stars 55 forks source link

[Allow to close with ESC key] - Would be nice to allow the popup to close when pressing the escape key #82

Closed brlocky closed 5 months ago

brlocky commented 5 months ago

Hi all.

I would like to have an option to allow usage of Confirm.show to close when a key is pressed of a click outside of the main popup.

Probably would also make sense for the other modules to have the same option