-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 : Submenus are inaccessible via keyboard Enter/Space (Response::fake_primary_click) #5230
base: master
Are you sure you want to change the base?
Conversation
Preview available at https://egui-pr-preview.github.io/pr/5230-patches |
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.
Co-authored-by: Emil Ernerfeldt <[email protected]>
looks like the hovering_current_submenu() check was causing the issue.Just checking for clicked() works fine |
Fixes Submenus are inaccessible via keyboard Enter/Space
crates/egui/src/menu.rs
: Enhanced the submenu opening condition to include pointer hovering over the current submenu and button clicks.Closes Submenus are inaccessible via keyboard Enter/Space (
Response::fake_primary_click
) #5221