UX: clicking the 'clear'-button will not expand the search sidebar

This commit is contained in:
Pieter Vander Vennet 2024-11-24 22:39:13 +01:00
parent 5b0bb189d0
commit 34672075d4

View file

@ -65,7 +65,7 @@
{#if $value.length > 0}
<Backspace
on:click={() => value.set("")}
on:click={(e) =>{ value.set("") ; e.preventDefault()}}
color="var(--button-background)"
class="mr-3 h-6 w-6 cursor-pointer"
/>