meliorence / meliorence/react-native-snap-carousel

Dot Paginacion not working

Open
#852 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

When implementing carousel paging, I have the following problem:

Captura de Pantalla 2021-07-24 a la(s) 6 20 27 p  m Captura de Pantalla 2021-07-24 a la(s) 6 18 41 p  m

As you can see, I am passing an array.length, the problem is that I don't know where the first element starts, it is possible to control this, so if I have an array of 100 elements I can control them from the point...

Captura de Pantalla 2021-07-24 a la(s) 6 20 58 p  m

Putting a limited number if it is possible to observe the pagination, what solution can there be for this?

Captura de Pantalla 2021-07-24 a la(s) 6 21 28 p  m

Contributor guide

Open the contributing guide

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 with the carousel paging and pagination configuration that accepts the array length, then reproduce the reported behavior with a 100-item array. Compare the visible dot count and starting index with the requested limited pagination; done means pagination can display a bounded set of dots while navigating the full array as intended.

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.