Commit Graph

77 Commits (da7babf8d9590b827e7e0722aa36804c593a74cc)

Author SHA1 Message Date
mwoenker 1b34ff3a48
fix: Remove handlers (rather than setting to {}) in eachUnbind (#345) 3 years ago
zhaokun1219 9145770285
fix: Fix the bug that the window will bind multiple focus events when hotkeys is called multiple times by different element option (#347) 3 years ago
jaywcjlove df587d4f28 chore(deps): update dependency kkt to v6.7.2 4 years ago
Lage, Mateus Mamede 6261dbd31d Add numpad special keys 4 years ago
jaywcjlove 0bfabfa2bf fix: Ignore keypressed in select elements that support keyboard data input. #193 5 years ago
mykola.dudar fdcc2d3201 Command key kept pressed fix 5 years ago
jaywcjlove bcb3f691f1 chore: Fix ESLint errors. 5 years ago
Niklas 2c2c9d8aa5
Fix Firefox on macOS regression (#162) 5 years ago
jaywcjlove 5d49f18fcc chore: Add code comments. 5 years ago
jaywcjlove 054d0bb4a5 fix: More browser support. #129 5 years ago
Niklas 4cac856524
Set `ctrl` and `alt` modifiers when `altgr` is pressed (#129)
This solves the issue in Firefox on Windows where hotkeys corresponding to special characters would not trigger. An example of this is `ctrl+alt+m` on a Swedish keyboard which is used to type `μ`.
5 years ago
Sebastian Kreft 08368e075d Allow events in read only TextArea (#119)
Fix default filtering strategy to correctly allow events for text area elements when is set to read only.
5 years ago
jaywcjlove 98ce2d6fb6 chore: Modify the code comment. #109 5 years ago
Logan Bittner f3cc7a2585 Fixes `command` key on Firefox MacOSx (#109)
* Fixes command key in FireFox

* revert main file
5 years ago
jaywcjlove 6c8931a326 chore: Optimization code. 6 years ago
Inside 2616b67a6f feat: custom splitkey (#105) 6 years ago
jaywcjlove 30d2160ef9 Fix right command does not fires on macOS #92. 6 years ago
JakeBC be2c9b7164 fix: Allow keydown = false option (#100) 6 years ago
jaywcjlove edf976c4bc Fix custom keyboard shortcut issues caused by system keyboard shortcuts. #86 6 years ago
月迷津渡 b9cde08e0e fix: unbind keys issue (#82) 6 years ago
Inside e3c00e27d3 chore: do filter in advance (#76) 6 years ago
Inside 07d9139208 if key is not in _handlers,keydown cannot trigger if keyup event is setted (#74) 6 years ago
Inside 8e2c1b56e1 feat: modify filter function on readOnly element (#73) 6 years ago
jaywcjlove 3bbefc82d4 Fix input method editor is processing key input issue. #72 6 years ago
jaywcjlove 0850be67f2 Compatible with low-level browsers. #70 6 years ago
Inside 9e48e887ad fix: replace isSameNode with === (#70) 6 years ago
Inside df4ab96941 fix: Modify closure keyup error, modify isBindElement error (#69) 6 years ago
jaywcjlove 084ef71c60 Upgrade babel 7. 6 years ago
jaywcjlove e469a29d9c Fix multiple key combination binding issues. #68 6 years ago
jaywcjlove 08548d354f Fix if keyup: true is set, keydown cannot be triggered. #67 6 years ago
jaywcjlove efb4950562 Fix the issue of 2 and 3 key combinations. #55 6 years ago
jaywcjlove b0f5d3c838 Support for three-key combination. #55 6 years ago
jaywcjlove ada36f9cf3 Fix the issue of the callback function twice. #58 6 years ago
jaywcjlove c48a2d4a23 option add keyup parameter. #57 6 years ago
Spencer P d5f93601a9 Fix unbind with Method (#54)
* add failing test to address #53

* add fix for #53
6 years ago
jaywcjlove fe2dd3c6fe feat: Unbind events through functions. #44 6 years ago
jaywcjlove f6fb2f377c Use object destructuring errors from ESLint. #37 7 years ago
ioslh f65fd00dca Update main.js 7 years ago
jaywcjlove 69a7267f81 Fix #36 can't detect shift alone. 7 years ago
jaywcjlove a527487d44 fix #28 Compatible with IE. 7 years ago
jaywcjlove d37d855842 Fix #24 isPressed method issue. 7 years ago
jaywcjlove 0cad93cc6f feat: Specifying HTMLElement binding event. 7 years ago
jaywcjlove 5c15395fc5 Add ESLint. 7 years ago
jaywcjlove 35da6d4dce chore: Code format. 7 years ago
jaywcjlove c83297b201 feat: Build ES Module. 7 years ago
jaywcjlove 532fb704e5 Fixed getMod pass parameter error. 7 years ago
jaywcjlove 4a4ee826a8 Fixed compareArray function is not exported. 7 years ago
jaywcjlove 913a8172bb Fix function does not exist. 7 years ago
jaywcjlove 717506f621 Rebuild code. 7 years ago
jaywcjlove 516287ac8f Support insert key. 7 years ago