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

Close dropdown on click on dropdown item #217

Closed
bompi88 opened this issue Aug 14, 2022 · 1 comment · Fixed by #219
Closed

Close dropdown on click on dropdown item #217

bompi88 opened this issue Aug 14, 2022 · 1 comment · Fixed by #219
Labels
enhancement New feature or request

Comments

@bompi88
Copy link

bompi88 commented Aug 14, 2022

Summary

A way to support closing the dropdown when the dropdown items are clicked.

Basic example

By either exposing a handler or the open prop. I'm not sure what's the best way.

Motivation

In some situations, the user expects the dropdown to close after a click on its items.

@bompi88 bompi88 added the enhancement New feature or request label Aug 14, 2022
@bompi88
Copy link
Author

bompi88 commented Aug 15, 2022

thanks @shinokada !

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

Successfully merging a pull request may close this issue.

1 participant