Timothy J. Baek 6 mesi fa
parent
commit
effa77379e
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/lib/components/layout/Sidebar/SearchInput.svelte

+ 2 - 2
src/lib/components/layout/Sidebar/SearchInput.svelte

@@ -157,7 +157,7 @@
 									? 'bg-gray-100 dark:bg-gray-900'
 									? 'bg-gray-100 dark:bg-gray-900'
 									: ''}"
 									: ''}"
 								id="search-tag-{tagIdx}"
 								id="search-tag-{tagIdx}"
-								on:click={async () => {
+								on:click|stopPropagation={async () => {
 									const words = value.split(' ');
 									const words = value.split(' ');
 
 
 									words.pop();
 									words.pop();
@@ -187,7 +187,7 @@
 									? 'bg-gray-100 dark:bg-gray-900'
 									? 'bg-gray-100 dark:bg-gray-900'
 									: ''}"
 									: ''}"
 								id="search-option-{optionIdx}"
 								id="search-option-{optionIdx}"
-								on:click={async () => {
+								on:click|stopPropagation={async () => {
 									const words = value.split(' ');
 									const words = value.split(' ');
 
 
 									words.pop();
 									words.pop();