Skip to content

[DropdownMenu][ContextMenu] Don't exit fullscreen when esc-ing out of a submenu #1752

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

Merged
merged 3 commits into from
Feb 8, 2023

Conversation

cpmsmith
Copy link
Contributor

@cpmsmith cpmsmith commented Nov 2, 2022

Fixes #1751

Description

I kept looking at it, and I think this is probably the right place for this preventDefault? It even seems like another option for composeEventHandlers that would automatically preventDefault might make sense. I don't wanna tell you how to design your library, though.

@benoitgrelard benoitgrelard merged commit 4fd56c7 into radix-ui:main Feb 8, 2023
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.

[DropdownMenu] Within Submenu, escape key exits fullscreen on Firefox & Safari
2 participants