Просмотр исходного кода

Pressing escape while autocomplete is open no longer closes the minicard

Kenton Hamaluik 9 лет назад
Родитель
Сommit
f5be121cf3
1 измененных файлов с 5 добавлено и 0 удалено
  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');