mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
fix(dropdown): unregister keyboard esc handler
This commit is contained in:
parent
055e6fb76c
commit
bc116f5b73
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user