diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-03-27 08:54:37 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-03-27 08:54:37 +1100 |
| commit | 083b96a5040ccc71d2c0fc13e374d19ad2454161 (patch) | |
| tree | 13c3156d0cdc0468648a05768ffe68c4aebe4456 /src/components/SearchModal.vue | |
| parent | 4a469f8f6fab97d591929933b8cc73085955ab25 (diff) | |
Fix close-button unreliability bug
Diffstat (limited to 'src/components/SearchModal.vue')
| -rw-r--r-- | src/components/SearchModal.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/SearchModal.vue b/src/components/SearchModal.vue index ee1cc2e..cdf1206 100644 --- a/src/components/SearchModal.vue +++ b/src/components/SearchModal.vue @@ -44,7 +44,7 @@ export default defineComponent({ bg-stone-50 rounded-md shadow shadow-black flex gap-1"> <input type="text" class="block border" @keyup.enter="onSearchEnter" @keyup.esc="closeClicked" ref="searchInput"/> - <svg class="block w-6 h-6 ml-1 hover:cursor-pointer hover:bg-stone-200" @click="onSearchEnter"> + <svg class="block w-6 h-6 ml-1 hover:cursor-pointer hover:bg-stone-200" @click.stop="onSearchEnter"> <use href="#svg-search"/> </svg> </div> |
