react-native-calendars icon indicating copy to clipboard operation
react-native-calendars copied to clipboard

ExpandableCalendar - fix fast list navigation

Open Inbal-Tish opened this issue 2 years ago • 0 comments

Fix for fast list navigation - scroll / arrow press:

  1. Separate update source for user scroll (PAGE_SCROLL) and arrow press that invokes list scroll (ARROW_PRESS).
  2. When context.date changes, only scroll when the update source is ARROW_PRESS.
  3. On PAGE_SCROLL - debounce setDate call.
  4. On ARROW_PRESS - throttle auto list scroll.

Inbal-Tish avatar Aug 17 '22 10:08 Inbal-Tish