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

Bug: selecting dates in range mode bug #12

Closed
kfirba opened this issue Sep 11, 2019 · 4 comments
Closed

Bug: selecting dates in range mode bug #12

kfirba opened this issue Sep 11, 2019 · 4 comments
Labels
Bug Something isn't working
Milestone

Comments

@kfirba
Copy link
Contributor

kfirba commented Sep 11, 2019

There is a bug with fullscreen-mobile mode and the range datepicker where I can get the following state:

image

As you can see, I've chosen a range but the range itself was not properly selected.

How to reproduce:

  1. Open the datepicker in range mode and fullscreen-mobileon mobile device
  2. Pick a start date, for example, September 3rd.
  3. Pick an end date, for example, September 19th.
  4. Click on September 19th again
  5. Now pick another date in the past, for example, September 11th.

Try it a few times. It happens every so often. There is no console error.

In the Vue devtools the end date is really before the start date.

I guess the easiest way to fix this is to add a watcher that ensures that the start date is always before the end date and swap them if it's not the case.

@mathieustan
Copy link
Owner

mathieustan commented Sep 12, 2019

I'll check this. Thanks.

EDIT: I found why. I'll fix it

@mathieustan
Copy link
Owner

Fix in development branch v0.1.8

@kfirba
Copy link
Contributor Author

kfirba commented Sep 12, 2019

@mathieustan great! thanks

@mathieustan mathieustan added the Bug Something isn't working label Sep 12, 2019
@mathieustan mathieustan added this to the v0.1.8 milestone Sep 12, 2019
@mathieustan
Copy link
Owner

Done in V0.1.8

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

No branches or pull requests

2 participants