CalendarPicker icon indicating copy to clipboard operation
CalendarPicker copied to clipboard

minDate and maxDate Block select Month

Open khelifioussama opened this issue 3 years ago • 2 comments

When i am using minDate and maxDate , The Month have multiple bug it stuck when Select month is first time open Exemple : min date is in august 2017 and max date is in mai 2021 If I click in Select Month in 2021 I see ( Junauary - February - March - April - May ) and then I change the year to 2017 so i should see in month ( August - September - October - November - December ) but I just see the same months seen in 2021 , even if i go to 2020 I should see all the months but i am always stuck in those months any solution please

khelifioussama avatar May 03 '21 12:05 khelifioussama

Please use the sample app in this repo to recreate the issue and post the <CalendarStrip> code snippet here. https://github.com/stephy/CalendarPicker#sample-application

peacechen avatar May 03 '21 15:05 peacechen

i have the same problem, but i set only maxDate={new Date()} it works if i use arrow to change month, but if i change year to 2023, and click "Select Month" i still see only 4 month image

BohdanKasian avatar Apr 03 '24 14:04 BohdanKasian