-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Labels
enhancementNew feature or requestNew feature or requestnext-releaseWill be closed in the next release (done in master branch)Will be closed in the next release (done in master branch)
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, kkuegler, PlainBane and thiervoj
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestnext-releaseWill be closed in the next release (done in master branch)Will be closed in the next release (done in master branch)