Calendar shows wrong month when minDate and preventMinMaxNavigation are set
See original GitHub issueDescribe the bug When minDate is a date next month and preventMinMaxNavigation is set to true, the calendar shows the current month with all the days disabled.
To Reproduce
- Create Datepicker with
:minDate
a date next month andpreventMinMaxNavigation
- Notice that the calendar shows the current month
- When clicking next month, notice you can’t navigate back to the current month any more,
https://stackblitz.com/edit/vuepic-vue-datepicker-8y1ew1?file=src/components/Playground.vue
Expected behavior The calendar should default to showing the month of the minDate.
Screenshots
Desktop & mobile (please complete the following information):
- Google Chrome 105.0.5195.125 (Official Build) (x86_64)
- v3.4.8
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Android CalendarView showing wrong month on scroll when ...
I have added setMinDate(Dec 1, 2015) and setMaxDate(current month last day) for calendarview, when moving from min date to max date, it is...
Read more >Calendar show wrong when set minDate · Issue #1728 - GitHub
In the first picker, navigate to the next month and select a date; Open the second calendar. In v4.51, the calendar shows the...
Read more >Calendar events displaying in wrong month | WordPress.org
For some reason my calendar events are shifting a month. ... Have you verified that your site is set to the correct time...
Read more >Windows10 Calendar shows wrong day error
When you click on the lower right time/date field it brings up a graphic showing the current full Calendar month. This graphic is...
Read more >Calendar - Calendar UI widget documentation - Webix
Dates can be set after calendar initialization with the help of the following ... the modes in which Calendar will display either only...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can use the
startdate
prop.Thanks so much, that has resolved my issue!