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

Escape to Close Combobox does not work on Safari #7337

Closed
1 of 2 tasks
elibroftw opened this issue Jan 7, 2025 · 1 comment · Fixed by #7358
Closed
1 of 2 tasks

Escape to Close Combobox does not work on Safari #7337

elibroftw opened this issue Jan 7, 2025 · 1 comment · Fixed by #7358
Labels

Comments

@elibroftw
Copy link

Dependencies check up

  • I have verified that I use latest version of all @mantine/* packages

What version of @mantine/* packages do you have in package.json?

7.15.1

What package has an issue?

@mantine/core

What framework do you use?

Vite

In which browsers you can reproduce the issue?

Safari

Describe the bug

In Firefox, when I open a combobox I can close it using Escape. But on Safari, this is not true.

If possible, include a link to a codesandbox with a minimal reproduction

https://mantine.dev/core/combobox/

Possible fix

https://stackoverflow.com/questions/719537/capture-an-escape-keypress-in-webkit-browsers

Self-service

  • I would be willing to implement a fix for this issue
@elibroftw
Copy link
Author

Note that Modal works as intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants