Skip to content

It's unclear how to compose enhanced ScrollView from RNGH and Reanimated #2624

Description

@gaearon

Description

RNGH and Reanimated appear to be designed to be used together. However, both have each own ScrollView export that are incompatible. Concretely, I want the onScroll={{ onBeginDrag, onEndDrag }} handlers from Reanimated (which are better than RN built-ins because RN built-ins are buggy — sigh — and which can run in a worklet). But I also need the waitFor prop from RNGH.

Looking at the source, I might be able to do this via createNativeWrapper but the docs say I shouldn't use it.

Steps to reproduce

irrelevant

Snack or a link to a repository

irrelevant

Gesture Handler version

irrelevant

React Native version

irrelevant

Platforms

Android

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions