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
If a dialog component is being rendered, but is closed, and the escape key is pressed, focus will get set to the dialog's target. This seems to be due to the logic that tries to set focus back to the last focused element when a dialog closes, but the logic should not be executing if the dialog was never opened.
Description
If a dialog component is being rendered, but is closed, and the escape key is pressed, focus will get set to the dialog's target. This seems to be due to the logic that tries to set focus back to the last focused element when a dialog closes, but the logic should not be executing if the dialog was never opened.
Steps to reproduce
Version
v35.28.0
Browser
Chrome
The text was updated successfully, but these errors were encountered: