We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75f4d6d commit 5b419faCopy full SHA for 5b419fa
src/components/common/search/Search.js
@@ -78,7 +78,6 @@ function SearchBox(props) {
78
onSubmit={event => {
79
event.preventDefault()
80
event.stopPropagation()
81
-
82
if (inputRef.current) {
83
inputRef.current.blur()
84
}
@@ -117,7 +116,11 @@ export default function Search({ algoliaVersion, onBlurHandler }) {
117
116
return (
118
<InstantSearch searchClient={searchClient} indexName='dataflow-spring'>
119
<SearchBox
120
- onBlurHandler={onBlurHandler}
+ onBlurHandler={() => {
+ setTimeout(() => {
121
+ onBlurHandler()
122
+ }, 1000)
123
+ }}
124
onQueryHandler={query => {
125
setShow(!!query.trim())
126
}}
0 commit comments