{#if focused && (filteredOptions.length > 0 || filteredTags.length > 0)}
{ selectedIdx = null; }} on:mouseleave={() => { selectedIdx = 0; }} >
{#if filteredTags.length > 0}
Tags
{#each filteredTags as tag, tagIdx} {/each}
{:else if filteredOptions.length > 0}
{$i18n.t('Search options')}
{#each filteredOptions as option, optionIdx} {/each}
{/if}
{/if}