Skip to content

Conversation

@mvorisek
Copy link
Contributor

event.which is obsolete and not even set in some browsers nor set by the latest syn.js

needed for minkphp/MinkSelenium2Driver#358 PR otherwise workaround minkphp/MinkSelenium2Driver@cfb81e9 is needed and the native syn.js/better mapping cannot be used

here is an example from Firefox console on real keyboard presses:
image
notice the keyCode and charCode is set depending on the keyPress vs keyUp/keyDown event types

same test update is proposed also in #42, but this PR does not propose other test changes for easier review

@stof stof merged commit f038a14 into minkphp:master Oct 17, 2022
@mvorisek mvorisek deleted the fix_event_which branch October 17, 2022 15:06
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