Ignore keyevents during text composition (#7205)
KeyboardEvent.key may be physical key name (Escape, Tab, etc.) even in text composition and it causes hotkeys or suggestion selection. So we need to check e.which or e.isComposing. Checking e.which also allows us to avoid Esc key on compositionend in Safari.local
parent
87e3f0a41d
commit
84214b864c
1 changed files with 6 additions and 0 deletions
Loading…
Reference in new issue