Skip to content
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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

abdul2801
Copy link

Fixes Submenus are inaccessible via keyboard Enter/Space

Copy link

Preview available at https://egui-pr-preview.github.io/pr/5230-patches
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

.vscode/settings.json Outdated Show resolved Hide resolved
Copy link
Owner

@emilk emilk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You broke something:
bad-menu

@abdul2801
Copy link
Author

looks like the hovering_current_submenu() check was causing the issue.Just checking for clicked() works fine

@abdul2801 abdul2801 requested a review from emilk December 12, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Submenus are inaccessible via keyboard Enter/Space (Response::fake_primary_click)
2 participants