-
Notifications
You must be signed in to change notification settings - Fork 13
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
Ability to page by one month at a time #46
Comments
hey i just made a PR that allows you to set can you take a look at it? |
Hey @WickyNilliams , thank you for taking the time to look into this. Yes, I've reviewed the changes in the PR, particularly the testing part, and the |
That's right. I'll get this merged and released today |
Released in |
Just released |
Scenario:
I have a multi-selectable calendar with months="1" to display one month per next/prev button press.
I aim to display two months at a time, moving one month forward/backward per button press (e.g., May/June => June/July).
Problem:
Selecting dates from the second displayed month causes the calendar to jump to the next month.
Setting months="2" matches the elements and works correctly, but the prev/next buttons then jump two months (e.g., May/June => July/August), which is not desired.
CodePen Example: https://codepen.io/Catalin-Lungan/pen/JjqozOe
Expected Resolution:
Currently, it is expected that the 'months' prop matches the number of elements, as the pagination logic moves by the number of months specified. It would be very useful to have a setting that allows configuring the pagination to move by a custom number of months, which would resolve the issue we're experiencing.
The text was updated successfully, but these errors were encountered: