diff --git a/src/lib/Others/HypaV3Modal.svelte b/src/lib/Others/HypaV3Modal.svelte index cef64c67..ea9b6616 100644 --- a/src/lib/Others/HypaV3Modal.svelte +++ b/src/lib/Others/HypaV3Modal.svelte @@ -871,19 +871,27 @@
- { - if (searchUIState) { - searchUIState.currentIndex = -1; - searchUIState.results = []; - } +
{ + e.preventDefault(); + onSearch({ key: "Enter" } as KeyboardEvent); }} - onkeydown={(e) => onSearch(e)} - /> + > + { + if (searchUIState) { + searchUIState.currentIndex = -1; + searchUIState.results = []; + } + }} + onkeydown={(e) => onSearch(e)} + /> +
{#if searchUIState.results.length > 0}