Merge pull request #70 from Pinjasaur/esc
This commit is contained in:
commit
99415dd499
@ -173,6 +173,7 @@ export function FilterList({
|
|||||||
case "Escape":
|
case "Escape":
|
||||||
exiting = true;
|
exiting = true;
|
||||||
onSelect(undefined);
|
onSelect(undefined);
|
||||||
|
e.preventDefault();
|
||||||
break;
|
break;
|
||||||
case " ":
|
case " ":
|
||||||
if (completePrefix && !text) {
|
if (completePrefix && !text) {
|
||||||
|
Loading…
Reference in New Issue
Block a user