react-native-calendars
react-native-calendars copied to clipboard
ExpandableCalendar - fix fast list navigation
Fix for fast list navigation - scroll / arrow press:
- Separate update source for user scroll (PAGE_SCROLL) and arrow press that invokes list scroll (ARROW_PRESS).
- When context.date changes, only scroll when the update source is ARROW_PRESS.
- On PAGE_SCROLL - debounce setDate call.
- On ARROW_PRESS - throttle auto list scroll.