Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually editing the date is not working correctly #742

Open
yb172 opened this issue Mar 12, 2022 · 1 comment
Open

Manually editing the date is not working correctly #742

yb172 opened this issue Mar 12, 2022 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@yb172
Copy link

yb172 commented Mar 12, 2022

馃悰 bug report

Description of the problem

When you are trying to edit the date manually it won't always work.

Steps to reproduce

Let's say I want to select today's date, but a year ago. What I will do:

Expected behavior:

  • I hit "backspace" to erase the last "2" in 2022, then "1" to get "2021". Resulting date is "2021-03-12"

Observed behavior:

  • I hit "backspace" to erase the last "2" in 2022, and the cursor immediately jumps to the end of the line, so when I hit "1" I get "2020-31-21"
@arthurdenner
Copy link
Owner

Hi, @yb172! 馃憢馃徑

Thanks for reporting this issue. I'm able to reproduce it.

This behaviour usually happens when the state update is async but I don't think that's the case here.
I'll try to find time to some investigation later, but if you have insights or interest in fixing it, I appreciate it.

@arthurdenner arthurdenner added bug Something isn't working help wanted Extra attention is needed labels Mar 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants