Chromium Code Reviews
DescriptionIgnore key events in renaming inputs when the keyCode is VK_PROCESSKEY(229).
When the key events are consumed by IME, the keyCode in KeyboardEvent.keyCode is
VK_PROCESSKEY, but KeyboardEvent.key can be the original key, like 'Enter'.
As a workaround, we look into keyCode to ignore the consumed key events not to
commit unwanted changes in rename inputs, although the keyCode is deprecated.
BUG=644071
TEST=manually tested using the repro steps described in the bug.
TBR=nona@chromium.org
Review-Url: https://codereview.chromium.org/2309983003
Cr-Commit-Position: refs/heads/master@{#416887}
(cherry picked from commit bb7c1663e15a122a64f94f5fac7ca8fdbdf7ec06)
Committed: https://chromium.googlesource.com/chromium/src/+/5b94799717dd554ff75a9dac122753bfd5f3ed65
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
||||||||||||||||||||||||||||