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

Multiple months display is broken #37

Open
wir opened this issue Apr 27, 2016 · 9 comments
Open

Multiple months display is broken #37

wir opened this issue Apr 27, 2016 · 9 comments

Comments

@wir
Copy link

wir commented Apr 27, 2016

Hello,

First of all thank you for your this wonderful plugin. I've been using it for a while and just noticed this weird bug. I don't know when it started.

When monthsToShow option is set to more then 1 clicking on anything in those extra months just switches months. Something like next months click all over the calendar. It can be tested in your demo under tab Multiple and then click on any date in other two months. First month one works normally. Tested in all the latest browser, inline and normal and it is the same.

Best regards! Sasha.

@kbwood
Copy link
Owner

kbwood commented Apr 28, 2016

When you click on a date it tries to select it, within the limits you've set, then redraws the calendars starting from that month. The dates are still selected, when possible.

@wir
Copy link
Author

wir commented Apr 28, 2016

Hello Keith and thank you for answering,

Before, every month behaved as the first one, If you selected a date then months didn't jump. Now if you have multiSelect or rangeSelect enabled you need to catch the dates all over the place :)
I don't think this is expected behavior as it makes really hard to manage dates. What can we do for datepick to stop redrawing calendar when day in other then first months is clicked?

Best regards, Sasha.

@BigLittleFlan
Copy link

Did any progress get made on this? @wir did you find a way around this? We're finding users are getting confused that the calendar moves on click

@wir
Copy link
Author

wir commented Nov 28, 2016

Hey @BigLittleFlan, unfortunately not. I just left it in single month mode and to be honest moved on for now...

@theOtherGreg
Copy link

theOtherGreg commented Jan 13, 2017

It would be great to have an option where selecting a date from a month other than the first did NOT redraw the calendar. (I'm looking to have all months in a year shown at once, no need to see months in other years) This would enable quickly selecting a date in any month of the year, without the calendar changing constantly.

@boynet
Copy link

boynet commented Feb 15, 2017

+1 and I think related bug is that multiple mode not working in the Three dates inline demo.

just a little update: version 4.1 working great with multiple months and multiple selects.
I can confirm it's the only datepicker plugin available that do the job with this specific needs

@iulianflst
Copy link

+1 The way range is working now is very confusing and not user friendly. How can we stop the calendar redraw everytime we click a date ?

@markusweb
Copy link

+1 for me! just try to switch from version 3.7 to 5.1

@markusweb
Copy link

see my patch #49 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants