GA-MO / react-confirm-alert

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

onClickOutside & onKeypressEscape force close! #22

Closed Roshdy closed 5 years ago

Roshdy commented 5 years ago

I'd love if i have the option to close or not through a prop. something like closeOnEscape & closeOnClickOutside. And change the code from this.close() on both methods to check these variables

GA-MO commented 5 years ago

This issue was solved in version 2.4.0