react-native-big-list icon indicating copy to clipboard operation
react-native-big-list copied to clipboard

issue with ScrollViewComponent prop

Open december1990 opened this issue 3 years ago • 0 comments

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}} .... />

december1990 avatar May 28 '22 03:05 december1990