Open DiligentMe opened 1 month ago
This sounds like a bug in the prop change detection @tranjog
It's time to refactor this to a function component with hooks. The prop comparison logic has gotten too complex and unmanageable.
a little more precise update about the issue
When the minDate and MaxDate is changed, it remain on previous min-max Date. When i move to actual month (previous or next) it behaves abnormally. new min and MaxDate is newer than previous min max date, previous button stays active infinitely and same is the case with if minmax date is older than previous minmax date it next button keeps active. When i actually move to actual minmax date month it gets set to correct min max date range. <CalendarPicker allowRangeSelection={false} enableDateChange={false} restrictMonthNavigation={true} minDate={minDate} maxDate={maxDate} startFromMonday={true} showDayStragglers={true} disabledDates={disabled} customDatesStyles={allDates} /> please help to solve this problem!