Skip to content

Send instance of KeyboardEvent on keyup/keydown/keypress#246

Merged
route merged 1 commit intorubycdp:mainfrom
Nix-wie-weg:send-real-keyboard-event
Nov 1, 2023
Merged

Send instance of KeyboardEvent on keyup/keydown/keypress#246
route merged 1 commit intorubycdp:mainfrom
Nix-wie-weg:send-real-keyboard-event

Conversation

@lindagruenwald
Copy link
Contributor

This PR changes the events sent on keyup/keydown/keypress to real instances of KeyboardEvent, instead of generic UIEvents.
This is closer to browser implementation and allows more reliable usage of third party tools like, for example, Stimulus KeyboardEvent filters.

@route
Copy link
Member

route commented Nov 1, 2023

Awesome, thank you!

@route route merged commit d31b926 into rubycdp:main Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants