fix(dropdown): unregister keyboard esc handler

This commit is contained in:
07akioni 2020-10-04 04:08:07 +08:00
parent 055e6fb76c
commit bc116f5b73

View File

@ -180,6 +180,7 @@ export default {
keyboardDelegate.unregisterHandler(this.handleKeyDownLeft)
keyboardDelegate.unregisterHandler(this.handleKeyDownRight)
keyboardDelegate.unregisterHandler(this.handleKeyUpEnter)
keyboardDelegate.unregisterHandler(this.handleKeyDownEsc)
},
handleKeyDownEsc () {
this.doUpdateShow(false)