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
648 stars 55 forks source link

Click on the overlay to close the popup #48

Closed hieuvume closed 2 years ago

hieuvume commented 2 years ago

In the Report feature, you can add a feature that allows the user to click on the overlay to close the popup. You can add a boolean prop to turn this feature off or on

furcan commented 2 years ago

Hi @hieuvume ,

I already thought about using that kind of feature for the background overlay before. And then, I decided to not add this feature.

Background overlay is an option that can be switched off as you can see (backOverlay: true). And maybe another option can be added as well to removing the Report Boxes as you have recommended with a click event.

I will consider this for the next updates.

Thanks. Furkan.

hieuvume commented 2 years ago

I'm looking forward to this. Hopefully it will be in the next update soon

furcan commented 2 years ago

Hi @hieuvume,

v3.2.5 has been released.

https://github.com/notiflix/Notiflix/blob/main/CHANGELOG.md