From 083b96a5040ccc71d2c0fc13e374d19ad2454161 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Sun, 27 Mar 2022 08:54:37 +1100
Subject: Fix close-button unreliability bug

---
 src/components/SearchModal.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/SearchModal.vue')

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>
-- 
cgit v1.2.3

