-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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] focus handling fix #6088
Conversation
The proposed change is quite important. I don't have any opinion on it yet. I need to benchmark what other are doing. |
Problem lies in usability on how to synchronize focus navigation (via keyboard, which changes focused elements) and hover navigation. Each of states, :hover :focus has some active (gray) backgroud. Which makes sense. But, when menu opens, they start mixing. Menu opens, first item in list is focues (active). When you move your mouse, some other items are active (hover), but the focued one is active too (this is thing reported in #5186). Options which came to my mind were:
|
I'm gonna post what Nathan was saying me offline regarding that issue. I'm not sure to understand the underlying implications.
|
Any updates on this? |
7cf8d3c
to
e4800de
Compare
I'm closing that PR as has been inactive for quite some time. I'm not sure what's the best fix for that one. We still have the issue as a reference. @ArcanisCz Thanks for the PR! |
Fixes #5186
My idea for proper behavior is, that Menu changes focus every time, mouse enters some of the children. This seems to be better that user can use keys after leaving menu instead of removing focus on mouse motion.