leecade / leecade/react-native-swiper

Loop

Open
#1,165 2 comments 0 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

Which OS ?
Version

Which versions are you using:

  • react-native-swiper latest
  • react-native v0.6
Expected behaviour

It to just loop to first slide.

Actual behaviour

On load, it loads the last slide at times, and then when it goes in loop, it messes up the index, I played with width, and etc. I have one swiper working correctly on a screen, but the other one does not. very odd. Containing Views is what I am using inside.

How to reproduce it>

Just add a swiper and then swipe through it with loop turned on. it messes up.

Steps to reproduce

1.Add Swiper
2.Add 4 Swipe Views
3. Swiper through, or reload, load goes to last slide, not first one. very odd.

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

No source files or tests are identified. Start by reproducing the issue with a swiper using loop and four views on react-native v0.6, checking both initial load and repeated swipes; done means it opens on the first slide and preserves the correct index while looping.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.