fix: Esc
prevent default (browser) action
This commit is contained in:
parent
1e274a81cc
commit
8f7b91e3df
@ -173,6 +173,7 @@ export function FilterList({
|
||||
case "Escape":
|
||||
exiting = true;
|
||||
onSelect(undefined);
|
||||
e.preventDefault();
|
||||
break;
|
||||
case " ":
|
||||
if (completePrefix && !text) {
|
||||
|
Loading…
Reference in New Issue
Block a user