Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

browserTrigger doesn't support keydown with a specific keycode #8688

Closed

Description

@jintoppy

if I do browserTrigger(element, 'keydown'), there is no option to give keyCode. It is going to line 127, to initMouseEvent, even though this is a keydown event.

Activity

  1. caitp commented on Aug 20, 2014

    @caitp
    Contributor

    Personally I don't think this would be too bad, since it's not included in production code anyways --- my vote is PRs welcome.

  2. added this to the milestone on Aug 20, 2014
  3. gonzaloruizdevilla commented on Apr 22, 2015

    @gonzaloruizdevilla
    Contributor

    For PR #10193 I had to do exactly this.

    I had to make two different commits:
    gonzaloruizdevilla@2f0d4fb to allow key events
    gonzaloruizdevilla@d70e0d4 to force artificially event bubbling in trees detached from the document (bubbling don't work in these cases in some browsers like chrome)

  4. added a commit that references this issue on Jun 6, 2016
    b51fca1
  5. added a commit that references this issue on Sep 28, 2024
    3ba8bb7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions