stop propagation on ESC key

This commit is contained in:
Sergio Crisostomo 2018-05-08 11:34:15 +02:00
parent cca3bcaa1a
commit 16fc63614f

View file

@ -482,6 +482,7 @@
// Esc slide-up // Esc slide-up
if (e.key === 'Escape') { if (e.key === 'Escape') {
e.stopPropagation();
this.hideMenu(); this.hideMenu();
} }
// next // next