-
Notifications
You must be signed in to change notification settings - Fork 252
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
type
regression when used with setRangeText
#981
Comments
2 tasks
Thanks for the report ❤️ |
In case anyone stumbles over this later: |
@all-contributors add @dzonatan bug |
I've put up a pull request to add @dzonatan! 🎉 |
🎉 This issue has been resolved in version 14.2.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduction example
https://codesandbox.io/s/repro-userevent-setrangetext-v14-efm7wv
Prerequisites
Type
12,34
in the input field.Expected behavior
A comma (
,
) gets automatically replaced with the dot (.
) both in the browser and tests.i.e. the final input value is expected to be
12.34
.Actual behavior
final value in the browser:
12.34
final value in the tests:
1234
User-event version
14.2.1
Environment
No response
Additional context
This was working in v13: https://codesandbox.io/s/repro-userevent-setrangetext-v13-0wl91f?file=/src/App.test.js
The text was updated successfully, but these errors were encountered: