-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Prop to close the dropdown when the component looses focus - aka clicking elsewhere on the page #1754
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
Comments
Would be really nice to have bugifx for this issue. You can visually make it looks like closed options when they are open
|
I worked around this by leaving
Not ideal but it works. |
@gregdev approach does work but you loose placeholders as they are not visible what I did as a hack was extended the component added an blur on the input and used that in vue.use for vue app
|
Is your feature request related to a problem? Please describe.
Yes this is a usability issue, I have a v-select where both searchable is false as well as clearable. When the user opens the dropdown I want it to close when they select something else on the page.
Describe alternatives you've considered
I've looked for a blur event but only find one on the search and as there is no search there is no blur event saying when the component has lost focus.
The text was updated successfully, but these errors were encountered: