leecade / leecade/react-native-swiper
Jumpy behaviour when loop={true} for nested swiper
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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