Browse Source

Pressing escape while autocomplete is open no longer closes the minicard

Kenton Hamaluik 9 years ago
parent
commit
f5be121cf3
1 changed files with 5 additions and 0 deletions
  1. 5 0
      client/components/lists/listBody.js

+ 5 - 0
client/components/lists/listBody.js

@@ -233,5 +233,10 @@ BlazeComponent.extendComponent({
         });
       },
     });
+
+    EscapeActions.register('textcomplete',
+      () => {},
+      () => dropdownMenuIsOpened
+    );
   },
 }).register('addCardForm');