leecade / leecade/react-native-swiper
scrollBy not working as intended
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 ?
iOS
Version
Which versions are you using:
- react-native-swiper v? 1.5.12
- react-native v0.?.? 0.48.3
Expected behaviour
When opening up, it should should load up on the center Index (or pane) with a big "Home" in text on the screen. it should allow swiping left and right, showing "Left" or "Right" on screen.

Actual behaviour
When opening, it renders on the home index (it shows it in the Pagination so) but renders the topmost pane code-wise (which is the left)

##Code

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 from the reproduction details and code shown in the issue, then trace how the initial index selects the rendered pane versus the pagination state. Done means opening at the center pane with “Home” visible while left and right swipes show the corresponding panes.
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