I use CalendarProvider with ExpandableCalendar and TimelineList.
Expected Behavior
When I enter into the screen with calendar it should open at today date (specified by currentDate).
Observed Behavior
Sometimes, the CalendarProvider triggers the "pageScroll" action and reverts to the previous week, despite setting the date property correctly (my currentDate variable remains today). How can I prevent it from going back a week?
Environment
Please run these commands in the project folder and fill in their results:
npm ls react-native-calendars: react-native-calendars@1.1299.0
npm ls react-native: react-native@0.68.2
Also specify:
Device/emulator/simulator & OS version:
Device & emulator & simulator - Android 13 (on other version also)
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
I use CalendarProvider with ExpandableCalendar and TimelineList.
Expected Behavior
When I enter into the screen with calendar it should open at today date (specified by currentDate).
Observed Behavior
Sometimes, the CalendarProvider triggers the "pageScroll" action and reverts to the previous week, despite setting the date property correctly (my currentDate variable remains today). How can I prevent it from going back a week?
Environment
Please run these commands in the project folder and fill in their results:
npm ls react-native-calendars
: react-native-calendars@1.1299.0npm ls react-native
: react-native@0.68.2Also specify:
Reproducible Demo
Screenshots