Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with ScrollViewComponent prop #204

Open
december1990 opened this issue May 28, 2022 · 0 comments
Open

issue with ScrollViewComponent prop #204

december1990 opened this issue May 28, 2022 · 0 comments

Comments

@december1990
Copy link

december1990 commented May 28, 2022

hi , thank you for this great package. based on the comment at #137 (comment) 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 december1990 changed the title issue with ScrollViewComponent issue with ScrollViewComponent prop May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant