-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[fields] Reset query when pressing Backspace
or Delete
#7855
[fields] Reset query when pressing Backspace
or Delete
#7855
Conversation
bbe08d7
to
ff3612b
Compare
expectInputValue(input, 'YYYY'); | ||
|
||
fireEvent.change(input, { target: { value: '2' } }); // press "2" | ||
expectInputValue(input, '0002'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In next
is outputs 0022
These are the results for the performance tests:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a really nice improvement! 👍
But the original linked issue does still seem to exist. 🙈
Screen.Recording.2023-02-08.at.11.14.06.mov
From what I understood, the 1st video of your comment shows the bug fixed by #7834 (we end up with
Because this comment you made seems to be what I fixed here.
For this comment, changing the year min boundary from I'll do a standalone PR to keep the fixes separated 👍 |
Part of #7834 (review)
Needs to also by applied on #7842