leecade / leecade/react-native-swiper

Jumpy behaviour when loop={true} for nested swiper

Open
#304 0 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

I have a 4 way navigation, similar to this.

However there is a weird jerky behaviour when the loop restarts.
When it restarts the swiper initially shows me the view at index 0, but then jumps right away to the appropriate one.
Any ideas?

Contributor guide

No contributing guide indexed for this repository

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 reproducing the four-way nested navigation described in the issue with loop={true}, and compare it with the linked issue 192. Done means the swiper restarts directly on the appropriate view without first showing index 0 or visibly jumping.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.