-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Combobox onClose does not work #5427
Comments
I would be willing to fix this issue |
kartikm02
added a commit
to kartikm02/mantine
that referenced
this issue
Dec 24, 2023
@rtivital I've made a small adjustment to the <Popover
opened={store.dropdownOpened}
{...others}
- onClose={store.closeDropdown}
+ onClose={onClose || store.closeDropdown}
withRoles={false}
unstyled={unstyled}
>
{children}
</Popover> I've checked the should I make a pull request? |
You are welcome to submit a PR with a fix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dependencies check up
What version of @mantine/* packages do you have in package.json?
7.3.2
What package has an issue?
@mantine/core
What framework do you use?
Vite
In which browsers you can reproduce the issue?
Firefox
Describe the bug
I took the first code example from the Combobox examples page called "Basic select". Added
onClose={() => alert('onClose')}
to Combobox component. The event does not trigger when I close dropdown.onOpen
works just fine though.If possible, include a link to a codesandbox with a minimal reproduction
https://codesandbox.io/p/sandbox/infallible-leakey-5w99kk
Possible fix
No response
Self-service
The text was updated successfully, but these errors were encountered: