Closed iqorlobanov closed 3 years ago
Just change the min and max date on state and in the component
I have same issue in Android , I think this is not the problem raised by min/max Date . Solved this by modifying the source code in react-native-calendar-select/Month/index.js
change
row = new Array(dayList.length / 7).fill('');
to
new Array(Math.floor(dayList.length / 7)).fill('');
I have an error when scroll to next year on Android.
ERROR: E/ReactNativeJS: RangeError: RangeError: RangeError: RangeError: Array size is not a small enough positive integer.
Here my code:
Please help me to fix it