You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Repository navigation
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
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.
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)
Activity
caitp commentedon Aug 20, 2014
Personally I don't think this would be too bad, since it's not included in production code anyways --- my vote is PRs welcome.
gonzaloruizdevilla commentedon Apr 22, 2015
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)
test(browserTrigger): support key events
test(browserTrigger): support key events