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

How about using useNativeDriver for the Animation?

Open dmk3141618 opened this issue 1 year ago • 2 comments

How about using useNativeDriver for the Animation?

The reaction speed seems too slow when moving with a scroll in ExpandableCalendar. I wonder if this is because useNativeDriver is not being used, or if it's due to outputting too much data at once. I would appreciate some adjustments in this area, like applying throttle, runAfterInteraction, or control of PanGesture to the timing of scrolling and displaying on the screen.

dmk3141618 avatar Nov 30 '23 09:11 dmk3141618

@dmk3141618 It does not seem possible with the current implementation of ExpandableCalendar because the height property is not supported for native animations https://github.com/facebook/react-native/issues/31071 If you change useNativeDriver: true locally and try to expand the calendar, you'll get the following error message

Capture d’écran 2024-01-17 à 18 30 35

aquinq avatar Jan 17 '24 17:01 aquinq

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.

stale[bot] avatar Apr 22 '24 09:04 stale[bot]