Fix crash on pressing Escape in item search
This commit is contained in:
parent
3ea6107f4f
commit
ce57f9a67a
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ function SearchToolbar({
|
|||
setSuggestions([]);
|
||||
return;
|
||||
}
|
||||
onChange(null);
|
||||
onChange(emptySearchQuery);
|
||||
e.target.blur();
|
||||
} else if (e.key === "ArrowDown") {
|
||||
if (suggestions.length > 0) {
|
||||
|
|
Loading…
Reference in a new issue