Skip to content

Conversation

@rangermeier
Copy link
Contributor

Fixes #405

Calling closeMenu() in the blur handler for the search input causes the menu to disappear before a user can select an item. Just removing this call fixes this issue. The menu will still close when the user moves the focus away from the component.

This also fixes another issue: when the menu is open, clicking the indicator did close and immediately re-open the menu.

Calling `closeMenu()` in the blur handler causes the menu to
disappear before a user can select an item.
@vercel
Copy link

vercel bot commented Dec 23, 2025

@rangermeier is attempting to deploy a commit to the tcaweb Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Dec 23, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
vue3-select-component Ready Ready Preview, Comment Dec 23, 2025 3:13pm

@TotomInc
Copy link
Owner

Thanks for your contribution @rangermeier, this is a nice PR 🙂

@TotomInc TotomInc merged commit 698058f into TotomInc:master Dec 23, 2025
3 checks passed
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.

Can't select item using mouse if :select-on-blur="false"

2 participants