mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-06 12:17:13 +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.handleKeyDownLeft)
|
||||||
keyboardDelegate.unregisterHandler(this.handleKeyDownRight)
|
keyboardDelegate.unregisterHandler(this.handleKeyDownRight)
|
||||||
keyboardDelegate.unregisterHandler(this.handleKeyUpEnter)
|
keyboardDelegate.unregisterHandler(this.handleKeyUpEnter)
|
||||||
|
keyboardDelegate.unregisterHandler(this.handleKeyDownEsc)
|
||||||
},
|
},
|
||||||
handleKeyDownEsc () {
|
handleKeyDownEsc () {
|
||||||
this.doUpdateShow(false)
|
this.doUpdateShow(false)
|
||||||
|
Loading…
Reference in New Issue
Block a user