-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Menu] Fix autoFocus to work correctly with keepMounted #16450
Conversation
Details of bundle changes.Comparing: 7fb9b40...21a725d
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice to have a test for it (even if we intend to break it soon).
let wrapper; | ||
|
||
before(() => { | ||
// Using render instead of createClientRender because createClientRender specifies an explicit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah current situation isn't ideal because many tests aren't isolated. Later I would actively block setting baseElement
since we can't isolate aria scopes anyway and always need to consider the whole document.
I think the two failed checks are just flakiness unrelated to my changes, but let me know if there is something I should do to address it. |
Could you do a quick |
Very nice, thanks! |
Closes #16444