Open
Bug 1996842
Opened 10 months ago
Updated 10 months ago
CapsLock state only correct on keyup event
Categories
(GeckoView :: IME, defect)
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: adaha, Unassigned)
Details
Steps to reproduce:
- Connect physical keyboard to Android device
- Go to https://w3c.github.io/uievents/tools/key-event-viewer
- Enable Caps Lock
- Press any key
Actual results:
getModifierState("CapsLock") is only True on the keyup event. On keydown/keypress, it is False.
The shift state is True on keydown/keypress, and False on keyup.
Expected results:
The CapsLock state should be True for all key events until CapsLock is deactivated. The shift state should be false if shift is not pressed.
Comment 1•10 months ago
|
||
Chrome has same problem. Although I don't debug this, I guess that this may be Android OS bugs.
Component: General → IME
Product: Firefox for Android → GeckoView
Updated•10 months ago
|
Severity: -- → S3
Just tested this on Chrome 141 on an Android S7 tab and did not see the issue there.
(In reply to adaha from comment #2)
Just tested this on Chrome 141 on an Android S7 tab and did not see the issue there.
I meant a Samsung Galaxy S7 tablet*
You need to log in
before you can comment on or make changes to this bug.
Description
•