diff --git a/components/lib/tieredmenu/TieredMenu.vue b/components/lib/tieredmenu/TieredMenu.vue index ea172a540..968809e7a 100755 --- a/components/lib/tieredmenu/TieredMenu.vue +++ b/components/lib/tieredmenu/TieredMenu.vue @@ -380,8 +380,12 @@ export default { this.onEnterKey(event); }, onEscapeKey(event) { - this.hide(event, true); - !this.popup && (this.focusedItemInfo.index = this.findFirstFocusedItemIndex()); + if (this.focusedItemInfo.level !== 0) { + const _focusedItemInfo = this.focusedItemInfo; + + this.hide(event, false); + !this.popup && (this.focusedItemInfo = { index: Number(_focusedItemInfo.parentKey.split('_')[0]), level: 0, parentKey: '' }); + } event.preventDefault(); },