leecade / leecade/react-native-swiper

1.6.0 动态添加子页有 bug 老铁

Open
#1,223 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

将子节点 push 到数组中,在你们控件里加入 {list}。 则自动滚动只进行一次就失效。 我只添加了2个子页。但是手动滑动可以滑动 4 页。 滑动到最前以及最后时,就无法再滑动了。
加油啊~字节跳动,这 Bug 太严重了

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 by reproducing the issue with two dynamically pushed child pages added through {list} in react-native-swiper 1.6.0. Check why automatic scrolling stops after one cycle and why manual swiping exposes four pages; done means the page count and both automatic and manual scrolling remain correct at the first and last pages.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.