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
Click the button to open the modal, and wait until it is shown
Press Ctrl-S and wait for the browser's Save dialog to be shown
Press and hold the Escape key (the Save dialog will close)
Release the escape key
Expected behavior:
The dialog should not close
Actual behavior:
The dialog closes.
This is not just when you hold the escape key down for a long time - it'll happen with a normal press. I presume the escape key listener is on keyup, causing this behavior?
The text was updated successfully, but these errors were encountered:
Same issue occurs if escape key is pressed when a select menu is open inside a modal
Expected behavior:
select menu closes and modal dialog stays open
Actual behavior:
modal dialog closes
This might be a browser issue to do with how keyboard events are emitted, but anyway...
To reproduce (in Chrome, not tried other browsers):
Expected behavior:
The dialog should not close
Actual behavior:
The dialog closes.
This is not just when you hold the escape key down for a long time - it'll happen with a normal press. I presume the escape key listener is on keyup, causing this behavior?
The text was updated successfully, but these errors were encountered: