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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent behavior of date range picker #434

Closed
KJaspers opened this issue Jun 6, 2019 · 3 comments · Fixed by #1031
Closed

Inconsistent behavior of date range picker #434

KJaspers opened this issue Jun 6, 2019 · 3 comments · Fixed by #1031
Labels
bug Something isn't working

Comments

@KJaspers
Copy link

KJaspers commented Jun 6, 2019

We found the following very confusing behavior in the date range picker:
1.) Click the startDate and select a range 1.6. to 3.6.
2.) Calendar closes. Click the startDate again and click 4.6.
Expected: new range 1.6. to 4.6.
Actual: 3.6. to 4.6.
3.) Repeat the test by clicking 5.6. Now the new range is 3.6. to 5.6. (as expected!)
4.) Then open startDate again and select 2.6.
Expected: 2.6. to 5.6.
Actual: 2.6. to 3.6.

This inconsistent behavior is really very confusing for the user!

Can be reproduced with carbon vue story book.

@lee-chase
Copy link
Member

This appears to be an open issue in the Range plugin provided by flatpickr flatpickr/flatpickr#1575

Also raised against carbon-components-react here carbon-design-system/carbon#2981

@lee-chase lee-chase added the bug Something isn't working label Jun 8, 2019
@KJaspers
Copy link
Author

Any update on this one?

@lee-chase
Copy link
Member

Sadly no change on FlatPickr range plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants