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

Unexpected Vertical Movement in Animated.ScrollView with Horizontal Scrolling #5823

Open
Sairamyasri2024 opened this issue Mar 21, 2024 · 3 comments
Labels
Missing info The user didn't precise the problem enough Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android Platform: iOS This issue is specific to iOS

Comments

@Sairamyasri2024
Copy link

Description

When using an Animated.ScrollView component in a React Native application, there is unexpected behavior observed where horizontal scrolling triggers unintended vertical movement, causing carousels to move in the wrong direction.

Steps to reproduce

  1. Implement an Animated.ScrollView component in a React Native application.
  2. Include horizontally-scrollable carousels within the Animated.ScrollView.
  3. Attempt to horizontally scroll through the carousels.

Expected Behavior:

Horizontal scrolling should only affect the carousels within the Animated.ScrollView, moving them left or right as intended.

Actual Behavior:

Horizontal scrolling also triggers vertical movement, causing the carousels within the Animated.ScrollView to move vertically in addition to horizontally. This behavior is unexpected and disrupts the user experience.

Snack or a link to a repository

na

Reanimated version

3.5.4

React Native version

0.71.14

Platforms

Android, iOS

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

@github-actions github-actions bot added the Missing repro This issue need minimum repro scenario label Mar 21, 2024
Copy link

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?

Copy link

Hey! 👋

It looks like you've omitted a few important sections from the issue template.

Please complete Snack or a link to a repository section.

@github-actions github-actions bot added Missing info The user didn't precise the problem enough Platform: Android This issue is specific to Android Platform: iOS This issue is specific to iOS labels Mar 21, 2024
@szydlovsky
Copy link
Contributor

Hi @Sairamyasri2024 it would be great if You included a minimal repro - so that we can check wheter the problem persists on the newer versions or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing info The user didn't precise the problem enough Missing repro This issue need minimum repro scenario Platform: Android This issue is specific to Android Platform: iOS This issue is specific to iOS
Projects
None yet
Development

No branches or pull requests

2 participants