react-native-big-list
react-native-big-list copied to clipboard
issue with ScrollViewComponent prop
hi , thank you for this great package. based on the comment at https://github.com/marcocesarato/react-native-big-list/pull/137#issue-1104687894 I tried to pass reanimated scrollview to BigList but scrolling functionality stops working.
import { useValue, onScrollEvent } from 'react-native-redash'; import Animated from 'react-native-reanimated';
const y = useValue(0); const onScroll = onScrollEvent({y}); const AnimatedScrollView = Animated.createAnimatedComponent(ScrollView);
< BigList ScrollViewComponent={AnimatedScrollView} {...{onScroll}} .... />