Remove keydown

This commit is contained in:
Adria Navarro 2023-11-09 15:16:17 +01:00
parent 181f6e5e4b
commit baabb9066b
1 changed files with 2 additions and 12 deletions

View File

@ -39,23 +39,13 @@
{placeholder}
/>
<div
on:click={closeSearch}
on:keydown={closeSearch}
class="closeButton"
class:hide={!search}
>
<div on:click={closeSearch} class="closeButton" class:hide={!search}>
<Icon name="Add" />
</div>
<div class="title" class:hide={search}>
<Body size="S">{title}</Body>
</div>
<div
on:click={openSearch}
on:keydown={openSearch}
class="searchButton"
class:hide={search}
>
<div on:click={openSearch} class="searchButton" class:hide={search}>
<Icon size="S" name="Search" />
</div>
</div>