2
0

fix(editor): ️ Improve block focus

This commit is contained in:
Baptiste Arnaud
2022-03-29 10:23:45 +02:00
parent 1f992c6779
commit 261cd9a5c7
4 changed files with 22 additions and 3 deletions

View File

@@ -75,6 +75,7 @@ export const VariableSearchInput = ({
debounced(e.target.value)
onOpen()
if (e.target.value === '') {
onSelectVariable(undefined)
setFilteredItems([...variables.slice(0, 50)])
return
}