leecade / leecade/react-native-swiper

swiper does not scroll scrollView to top after index changed

Open
#785 1 comment 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

Hello,
I have swiper with scrollView inside it. For example i have 4 slides. When i am on first slide i scroll it to bottom. When i swipe to next slide, and slide back to first slide, it's still scrolled to bottom, but it should scroll back to top. Anyone have a solution ?
Regards

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 file or test is identified in the issue. Start by reproducing the behavior with a React Native swiper containing a scrollView: scroll the first slide, switch slides, and return to it. Done means the scrollView returns to the top when the slide index changes, with a regression test if the project’s existing test structure supports it.

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.