The WeekCalendar component currently doesn't have the functionality to receive minimum and maximum dates. As a result, it uses an infinite scroll without any restrictions on dates. However, it would be beneficial to enhance the component by adding optional minDate and maxDate properties, which would limit the scrolling feature within a specific date range.
Expected Behavior
With the current implementation of the WeekCalendar, users have the ability to scroll infinitely into the past or future.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
The
WeekCalendar
component currently doesn't have the functionality to receive minimum and maximum dates. As a result, it uses an infinite scroll without any restrictions on dates. However, it would be beneficial to enhance the component by adding optionalminDate
andmaxDate
properties, which would limit the scrolling feature within a specific date range.Expected Behavior
With the current implementation of the WeekCalendar, users have the ability to scroll infinitely into the past or future.
Screenshots
https://github.com/wix/react-native-calendars/assets/100431414/07ee4717-ff4c-4452-bf09-bf8720d1bf9c