You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It potentially might be a bug or just a question, I have a modal that the shouldCloseOnOverlayClick={false}, obviously clicking on overlay will not close the modal, but pressing on an esc key after that will not close the modal as well. But, opening a modal and pressing the esc key alone without clicking on overlay will close the modal as expected.
Steps to reproduce:
Creates a new react-modal component.
Set component option of shouldCloseOnOverlayClick={false}.
Run server, open the modal, and clicking on the overlay layer.