react-native-calendars
react-native-calendars copied to clipboard
ExpandableCalendar selected day automatically sets to first day of the week when scrolling back or forward
Description
I'm current using Expandable Calendar and have this theme:
selectedDayBackgroundColor: "yellow",
selectedDayTextColor: "blue",
// today
todayTextColor: "yellow",
Expected Behavior
When scrolling back or forward, the first day of the week for some reason gets selected when nothing should be selected.
Observed Behavior
For context, the date when this issue is posted is July 13th (screenshot above)
Environment
└── [email protected]
└── [email protected]
macOS using iOS simulator iphone14 iOS 16.1
Did you resolve this?
Not yet. Do you have a solution?
Running into this issue as well--any hope of a fix?
Hi maybe this path helps you https://github.com/wix/react-native-calendars/issues/1937
Facing this issue as well, a fix would be appreciated.
It s ok for me but the thing is I have a min date set to Today and I can swipe left and the first day of the previous week would be selected 🤦♂️
any solution to this issue?
@longuyen10119 did you resolve this? I am facing the same issue
It may not be what you need, but there is one trade-off to this issue: disable a week scroll disableWeekScroll={true}
.