We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@testing-library/user-event
Relevant code or config
I made a codesandbox.io to replicate the issue: https://codesandbox.io/s/usereventtype-on-number-input-cgc13
What you did: Try to use userEvent.type to type a number that contains an exponent.
userEvent.type
What happened: You only end up with the exponent in the input, because the value of the field changes to '' as soon as e is 'typed'
''
e
Reproduction repository: (See the codesandbox above)
Problem description: userEvent.type doesn't handle numbers with exponents
Suggested solution: Make this a test case for the userEvent.type re-work (#521)
The text was updated successfully, but these errors were encountered:
Resolved in v13.0.0 🚀
Sorry, something went wrong.
No branches or pull requests
@testing-library/user-event
version: 12.6.0Relevant code or config
I made a codesandbox.io to replicate the issue: https://codesandbox.io/s/usereventtype-on-number-input-cgc13
What you did: Try to use
userEvent.type
to type a number that contains an exponent.What happened: You only end up with the exponent in the input, because the value of the field changes to
''
as soon ase
is 'typed'Reproduction repository: (See the codesandbox above)
Problem description:
userEvent.type
doesn't handle numbers with exponentsSuggested solution: Make this a test case for the
userEvent.type
re-work (#521)The text was updated successfully, but these errors were encountered: