fixes tiered menu popup not closing on escape
parent
401dd22567
commit
3ca2358f08
|
@ -383,7 +383,7 @@ export default {
|
||||||
this.onEnterKey(event);
|
this.onEnterKey(event);
|
||||||
},
|
},
|
||||||
onEscapeKey(event) {
|
onEscapeKey(event) {
|
||||||
if (this.focusedItemInfo.level !== 0) {
|
if (this.popup || this.focusedItemInfo.level !== 0) {
|
||||||
const _focusedItemInfo = this.focusedItemInfo;
|
const _focusedItemInfo = this.focusedItemInfo;
|
||||||
|
|
||||||
this.hide(event, false);
|
this.hide(event, false);
|
||||||
|
|
Loading…
Reference in New Issue