From 744604da4b95c26ef0e9fb7ef8409578f6ad1e3d Mon Sep 17 00:00:00 2001 From: Dhaya <154633+dhayab@users.noreply.github.com> Date: Mon, 18 Jul 2022 17:30:56 +0200 Subject: [PATCH 1/2] fix(searchbox): prevent concurrent query updates from state while input is focused --- src/components/SearchBox.vue | 9 +++++++++ src/components/SearchInput.vue | 3 +++ src/components/__tests__/SearchBox.js | 15 +++++++++++++++ 3 files changed, 27 insertions(+) diff --git a/src/components/SearchBox.vue b/src/components/SearchBox.vue index 7581525c..6373b5e5 100644 --- a/src/components/SearchBox.vue +++ b/src/components/SearchBox.vue @@ -20,6 +20,7 @@ :reset-title="resetTitle" :class-names="classNames" v-model="currentRefinement" + ref="searchInput" >