Skip to content

issue with ScrollViewComponent prop #204

@december1990

Description

@december1990

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions