Reproduction:
- Press shift+a
- Release shift
- Release a
Now evaluate the state of RawKeyboard.pressedKeys: capital A is still reported as being pressed. As such, shortcuts fail to match from this point forward, unless the user happens to go through a similar sequence but releases the a key before shift.
This happens surprisingly often when you're typing quickly.
Related to #38076
@gspencergoog