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

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

Open
gaearon opened this issue Oct 8, 2023 · 1 comment
Open
Labels
Missing repro Platform: Android This issue is specific to Android

Comments

@gaearon
Copy link

gaearon commented Oct 8, 2023

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

@github-actions
Copy link

github-actions bot commented Oct 8, 2023

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

@github-actions github-actions bot added Missing repro Platform: Android This issue is specific to Android labels Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing repro Platform: Android This issue is specific to Android
Projects
None yet
Development

No branches or pull requests

1 participant