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

[@mantine/core] Fix On Escape KeyDown handling to Combobox component #7358

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

yuki0410-dev
Copy link
Contributor

@yuki0410-dev yuki0410-dev commented Jan 14, 2025

fixes #7337

The method of judging escape key press events is now the same as for Modal.

if (event.key === 'Escape' && closeOnEscape && opened) {

@rtivital rtivital merged commit e2d368d into mantinedev:master Jan 16, 2025
1 check passed
@rtivital
Copy link
Member

Thanks!

@yuki0410-dev yuki0410-dev deleted the fix/7337 branch January 16, 2025 09:29
@elibroftw
Copy link

The issue is bigger than the escape key. It seems that onKeyDown itself does not run when the combobox is not an input. Will create a new issue.

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.

Escape to Close Combobox does not work on Safari
3 participants