react-native-calendars
react-native-calendars copied to clipboard
How about using useNativeDriver for the Animation?
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 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
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.