1
0

fix: Esc prevent default (browser) action

This commit is contained in:
Paul Esch-Laurent 2022-08-26 17:33:10 -05:00
parent 1e274a81cc
commit 8f7b91e3df

View File

@ -173,6 +173,7 @@ export function FilterList({
case "Escape":
exiting = true;
onSelect(undefined);
e.preventDefault();
break;
case " ":
if (completePrefix && !text) {