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
From quick debugging, it looks like the dialog is trying to return focus to the input rendered in the omnibar dialog when closing the second time. This is due to thinking that the input is the "last focused element" the second time it opens.
Expected behavior
Omnibar should return focus since it does not override the Dialog's default shouldReturnFocusOnClose={true}. This is likely actually a Dialog issue but I did not attempt to reproduce outside of Omnibar yet.
Possible solution
Make sure the input that is rendered in the Dialog is not considered the last focused element before the Dialog opens
The text was updated successfully, but these errors were encountered:
Steps to reproduce
https://blueprintjs.com/docs/#select/omnibar
Actual behavior
From quick debugging, it looks like the dialog is trying to return focus to the input rendered in the omnibar dialog when closing the second time. This is due to thinking that the input is the "last focused element" the second time it opens.
Expected behavior
Omnibar should return focus since it does not override the Dialog's default
shouldReturnFocusOnClose={true}
. This is likely actually a Dialog issue but I did not attempt to reproduce outside of Omnibar yet.Possible solution
Make sure the input that is rendered in the Dialog is not considered the last focused element before the Dialog opens
The text was updated successfully, but these errors were encountered: