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

datepicker - previous button with multiple months and maxDate #1993

Open
viktorvi opened this issue Oct 8, 2021 · 0 comments
Open

datepicker - previous button with multiple months and maxDate #1993

viktorvi opened this issue Oct 8, 2021 · 0 comments

Comments

@viktorvi
Copy link

viktorvi commented Oct 8, 2021

When showing multiple months and the current month is not displayed first (e.g. because of maxDate: 0), the user needs to click the previous button multiple times in order to see any effect.

In this example 3 clicks are needed https://jsfiddle.net/m3528fdb/, which makes the button seem broken initially. The number of required clicks depends on the values for stepMonths and maxDate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment