leecade / leecade/react-native-swiper
The parameters received by the `renderPagination` parameter `(index, total, context)`,`index` is always 0?
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:
xCode simulator v11.4.0
-
react-native-swiper v?
v1.6.0 -
react-native v0.?.?
v0.62.2
Expected behaviour
Index parameter: 1,2,3...
Actual behaviour
Index parameter: 0,0,0...
How to reproduce it>
To help us, please fork this component, modify one example in examples folder to reproduce your issue and include link here.
You can use renderPagination.
Steps to reproduce
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 with the renderPagination callback entry point and the examples folder, using the reported React Native Swiper v1.6.0 and React Native v0.62.2 setup. Reproduce the callback behavior and trace why index remains 0; done means the callback receives the expected sequence 1, 2, 3 and a reproduction or regression check confirms 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