Fix multiple key combination binding issues. #68

pull/69/head
jaywcjlove 6 years ago
parent 608333db75
commit e469a29d9c

@ -282,15 +282,16 @@ function hotkeys(key, option, method) {
dispatch(e);
});
}
if (keyup) {
addEvent(element, 'keyup', (e) => {
addEvent(element, 'keyup', (e) => {
if (keyup) {
dispatch(e);
clearModifier(e);
});
}
}
clearModifier(e);
});
}
}
const _api = {
setScope,
getScope,

Loading…
Cancel
Save