-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support beforeInput
event
#1152
Comments
@zombieJ Could you please describe |
It doesn't look like this bug report has enough info for one of us to reproduce it. Please provide a CodeSandbox (https://react.new), or a link to a repository on GitHub. Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve |
I've stumbled over this issue too. Using jest, jest-environment-jsdom and @testing-library/react to test an input element that is hooked to onBeforeInput and changes the target's value. A minimal live example https://codesandbox.io/s/dank-snowflake-ott8rx And a repo with the problematic test https://github.com/gsuntres/testing-library-bug |
Keep in mind that |
Describe the feature you'd like:
fireEvent
supportbeforeInput
eventSuggested implementation:
N/A
Describe alternatives you've considered:
N/A
Teachability, Documentation, Adoption, Migration Strategy:
N/A
The text was updated successfully, but these errors were encountered: