From bc116f5b73b8c424cbfbe13bd9ac771793ee2603 Mon Sep 17 00:00:00 2001 From: 07akioni <07akioni2@gmail.com> Date: Sun, 4 Oct 2020 04:08:07 +0800 Subject: [PATCH] fix(dropdown): unregister keyboard esc handler --- src/dropdown/src/Dropdown.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dropdown/src/Dropdown.js b/src/dropdown/src/Dropdown.js index 8498fa693..692e7099c 100644 --- a/src/dropdown/src/Dropdown.js +++ b/src/dropdown/src/Dropdown.js @@ -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)