Skip to content

Certain Key Up events are missed with combinations of keys #2271

Open
@BryceLTaylor

Description

@BryceLTaylor

Expected Behavior

Any key that triggers a key down event should trigger a key up event when it's released

Actual Behavior

Some key combinations will cause the key up to not trigger when released. This causes the reporter for <key [a] pressed> to report true after the keys are released.

Steps to Reproduce

On mac in any browser, pressing command-a will cause the a key to be pressed but releasing it does not release the a key. You can then press the a key briefly to stop it. It is easy to see if you build this stack (you can use any key to see the effects):
Screen Shot 2019-08-30 at 3 13 52 PM

cmd-a
This works with any key. You can not get these results using ctrl on windows.

Screen Shot 2019-08-30 at 3 13 45 PM

If you use [any] in the block, you can cause it to remain true after releasing keys by:
press and hold shift
press and hold the comma/left angle bracket key
release the shift key
release the comma/left angle bracket key

Operating System and Browser

Chrome, Safari, or Firefox on Mac. (tested on Windows Chrome and Edge. See the note about how the first example doesn't apply to using ctrl on windows)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions