Skip to content

Browsers that both emits KeyPress and KeyDown events risk emitting an event twice #45

@Jegp

Description

@Jegp

I just lost a bunch of text here. Tears were shred. Bunnies died. Go home invisible links!

When browsers emits KeyDown events as well as KeyPress events, there is a risk that two KeyDown events will be emitted for the same event.
Solution: If the browser emits both, remove KeyDown events and convert at KeyPress to KeyUp :: KeyDown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions