GA-MO / react-confirm-alert

react component confirm dialog.
https://ga-mo.github.io/react-confirm-alert/demo/
MIT License
271 stars 105 forks source link

closeOnClickOutside closes dialog on press inside and release outside #92

Open robheerdink opened 5 months ago

robheerdink commented 5 months ago

when clicking inside the dialog and releasing outside the dialog, the dialog closes. I would expect only a press outside the dialog to close the dialog.

With e.g a a slider widget in the dialog, its very easy to click inside the dialog and move the mouse outside the dialog, which would close the dialog