leecade / leecade/react-native-swiper

scrollBy not working as intended

Open
#567 3 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 ?

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.
intended

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)
actual

##Code
screen shot 2017-09-13 at 5 38 39 pm

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.