isOpen ? closeDropdown() : openDropdown()}>
{value}
{#if isOpen && fixedPosition}
isHovering = true} onmouseleave={() => isHovering = false} style:top="{fixedPosition.top}px" style:left="{fixedPosition.left}px" style:min-width="{fixedPosition.width}px" style:max-height={menuMaxHeight} > {#if showSearch}
{/if}
{#each filteredOptions as option}
handleOptionClick(option)} title={option} > {option}
{:else}
No matches found
{/each}
{/if}