meliorence / meliorence/react-native-snap-carousel

Carousel reverses direction suddenly on some devices

Open
#625 7 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
10.5k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

Bug report

Have you followed the required steps before opening a bug report?

(Check the step you've followed - put an x character between the square brackets ([]).)

Have you made sure that it wasn't a [React Native bug] ?

Not sure, might be an issue with react-native

Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?

I did not try on iOS, I faced it in some Android devices

Is the bug reproductible in a production environment (not a debug one)?

Yes

Environment

Environment:
React native: 0.59
react-native-snap-carousel: 3.8.4

Target Platform:
Android (9.0)

Expected Behavior

The carousel should scroll horizontally to right

Actual Behavior

It scrolls horizontally left for some slides all of a sudden

Reproducible Demo

It can only be seen in some devices so unable to reproduce

Steps to Reproduce
  1. Try using the carousel component in any huawei mobile (android 9)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. First reproduce the carousel on Huawei devices running Android 9 with React Native 0.59 and react-native-snap-carousel 3.8.4, then compare its horizontal direction across affected slides. Done means the carousel consistently scrolls right in the reported environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.