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
When a modal dialog is opened, pressing the escape key closes it.
However, the user would expect this to be true only if the focus is set inside the area covered by the modal dialog, which comprises the dialog itself plus its mask, that is the whole container of the modal dialog.
The issue is that currently it is not the case, the events are listened on the body no matter what is the actual container of the dialog, making it possible to close a modal dialog inside a container where the focus is not currently in.
The text was updated successfully, but these errors were encountered:
When a modal dialog is opened, pressing the escape key closes it.
However, the user would expect this to be true only if the focus is set inside the area covered by the modal dialog, which comprises the dialog itself plus its mask, that is the whole
container
of the modal dialog.The issue is that currently it is not the case, the events are listened on the body no matter what is the actual container of the dialog, making it possible to close a modal dialog inside a container where the focus is not currently in.
The text was updated successfully, but these errors were encountered: