-
Bug
-
Resolution: Duplicate
-
None
-
1.19.3, 1.19.4 Pre-release 1, 1.20, 1.20.1
-
None
-
Confirmed
-
UI
-
Low
-
Platform
The bug
I've noticed this issue for a few years and, up until now, I never knew what the issue was. I would press shift to capitalise a character then go to click and the text starts to be highlighted. I found that you have to press either control, alt, or arrow keys to stop highlighting the text field but this isn't ideal as most players wouldn't know this.
To reproduce
- Type anything in a text field then press shift and let go
- Move your caret by clicking
- Text should be highlighted
- Press either the ctrl, alt, or arrow keys to deselect
I expected to only select text when I hold shift, not when I press it once.
Code analysis
Code analysis by MDLC01 can be found in this comment.
- duplicates
-
MC-147766 Shift key stays pressed until press any other key
- Resolved