wix / react-native-calendars

React Native Calendar Components 🗓️ 📆
MIT License
9.46k stars 2.93k forks source link

The WeekCalendar component doesn't receive minDate and maxDate #2253

Open fricchi opened 1 year ago

fricchi commented 1 year ago

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 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.

Screenshots

https://github.com/wix/react-native-calendars/assets/100431414/07ee4717-ff4c-4452-bf09-bf8720d1bf9c

stale[bot] commented 1 year ago

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.

awinograd commented 2 months ago

I am experiencing this issue too