meliorence / meliorence/react-native-snap-carousel

On some snaps items are switched back to the previous item

Open
#726 3 comments 3 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

Is this a bug report, a feature request, or a question?

This is a bug that happens periodically on some items in carousel. On some snaps items are switched back to the previous item
There is a video demonstrating this bug on production
https://drive.google.com/file/d/1XSmrdZ3uGipI1e10zug1R2l-iYhBVJjb/view?usp=sharing

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?

Yes

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

Only iOS

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

Yes

Environment

Environment:
React: 16.9.0
React native: 0.61.5
react-native-snap-carousel: 3.8.4

Target Platform:
iOS (13.4)

Expected Behavior

Carousel move to the next item.

Actual Behavior

On some snaps items are switched back to the previous item

Steps to Reproduce

Can't reproduce due to fact the issue appear not always, only on random items. I suppose it is connected to styles applied on rendered items

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

Start by reviewing the linked production video and testing the reported environment: React 16.9.0, React Native 0.61.5, react-native-snap-carousel 3.8.4 on iOS 13.4. Investigate carousel rendering and item-transition behavior, then confirm that repeated production-like swipes no longer switch an item back to the previous one.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
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.