-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Vue3-Select-Component version
latest
Link to minimal reproduction
n/a
Steps to reproduce
n/a
What is expected?
Menu should open on first click, and close when clicked again. This is how the standard select works. Since we also have a search input, this should only happened when nothing is entered in the search input.
What is actually happening?
n/a
Any additional comments?
Implementation:
// -----------------------------------------
function handleControlClick(event: MouseEvent)
{
if (indicatorsRef.value?.containerRef && !indicatorsRef.value.containerRef.contains(event.target as Node))
{
if (menuOpen.value && !search.value)
closeMenu();
else
openMenu();
}
};
hackel
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers