Commit 433a66cc authored by patriciussanctus's avatar patriciussanctus Committed by 杨奕

Picker: esc => close and stop

parent 66cad95a
......@@ -409,9 +409,10 @@ export default {
handleKeydown(event) {
const keyCode = event.keyCode;
// tab
if (keyCode === 9) {
// TAB or ESC
if (keyCode === 9 || keyCode === 27) {
this.pickerVisible = false;
event.stopPropagation();
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment