Skip to content

Fix : Submenus are inaccessible via keyboard Enter/Space (Response::fake_primary_click)#5230

Closed
abdul2801 wants to merge 8 commits intoemilk:masterfrom
abdul2801:patches
Closed

Fix : Submenus are inaccessible via keyboard Enter/Space (Response::fake_primary_click)#5230
abdul2801 wants to merge 8 commits intoemilk:masterfrom
abdul2801:patches

Conversation

@abdul2801
Copy link
Copy Markdown

Fixes Submenus are inaccessible via keyboard Enter/Space

@github-actions
Copy link
Copy Markdown

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.

Comment thread .vscode/settings.json Outdated
Copy link
Copy Markdown
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
Copy Markdown
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
@emilk
Copy link
Copy Markdown
Owner

emilk commented Jan 22, 2025

still broken, but in a new way

@emilk emilk marked this pull request as draft January 22, 2025 14:32
@abdul2801
Copy link
Copy Markdown
Author

still broken, but in a new way

Hmm , Is it the fact that the other menu(nested 1) wont open while nested is being hover with Enter Key

media-2025-01-23_19 29 52  MConverter eu

@lucasmerlin
Copy link
Copy Markdown
Collaborator

I'll close this since we now have a new menu implementation (See #5716)

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)

3 participants