From 0262cbfb5479ef7305b74bbc0d541a0f6badab93 Mon Sep 17 00:00:00 2001 From: stecorb Date: Tue, 25 Aug 2020 00:04:59 +0200 Subject: [PATCH] fix undesired search suggestions popup --- src/renderer/components/top-nav/top-nav.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/renderer/components/top-nav/top-nav.js b/src/renderer/components/top-nav/top-nav.js index 0b60b178..e95cd834 100644 --- a/src/renderer/components/top-nav/top-nav.js +++ b/src/renderer/components/top-nav/top-nav.js @@ -78,6 +78,9 @@ export default Vue.extend({ const searchContainer = $('.searchContainer').get(0) searchContainer.blur() searchContainer.style.display = 'none' + } else { + const searchInput = $('.searchInput input').get(0) + searchInput.blur() } this.$store.dispatch('getVideoIdFromUrl', query).then((result) => {