-
Notifications
You must be signed in to change notification settings - Fork 273
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
fix(ui5-menu): improve focus handling #8348
Conversation
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.
Let's start with the event as private, and if the stakeholders can make their story work and stick with this solution, then we'll document it in the next patch.
Question: what is the best name for the event? ui5-item-focusin
or just ui5-item-focus
? For me, if there is no peir focusin/focusout, then focus would be best. Correct me if I'm missing some detail here
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.
Looks good for NavigationMenu
fix(ui5-menu): dispatch internal focus in event - We no longer count on the ui5-responsive popover to retrieve the focus over ui5-menu-item opener on ui5-menu close. - There is a differentiation between mouse and keyboard interactions aimed to retrieve the focus to the opener element on ui5-menu close.
We no longer count on the
ui5-responsive popover
to retrievethe focus over
ui5-menu-item
opener onui5-menu
close.There is a differentiation between mouse and keyboard interactions
aimed to retrieve the focus to the opener element on
ui5-menu
close.