VK failed to commit backspace when input in console |
||||||
Issue descriptionChrome Version: 67.0.3376.0 OS Version: 10506.0.0 What steps will reproduce the problem? (1) open a chrome console (2) open VK, input several chars (3) click backspace on VK, see shift state toggled (4) click backspace on VK again, see text not been deleted What is the expected result? 1. should not toggle shift state 2. should be able commit delete action What happens instead? as described in repro
,
Mar 27 2018
,
Mar 27 2018
,
Mar 28 2018
I suspect this might be an issue in DevTools text editor. kozy@ can you please help to triage or narrow down the root cause? Thanks!
,
Mar 28 2018
Confirmed the root cause is in DevTools. 1) The system receives the empty "text before cursor" after the Backspace deleted the tailing character. Somehow the input field might report the wrong selection range? 2) Due to the empty "text before cursor", the Virtual Keyboard switch to the SHIFT state and the following Backspace keydown event will carry the shiftKey=true modifier state. I can repro this by the physical keyboard: Backspace while holding Shift cannot delete character. None of above related to the Virtual Keyboard or IME logic. So removed the VirtualKeyboard component.
,
Mar 28 2018
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by iloahz@chromium.org
, Mar 27 2018