leecade / leecade/react-native-swiper
Android: setting the swiper index on render
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
I am having a swiper on my app for which the index is set dynamically on the scene render/load. All working fine on iOS but on android, even though the swiper bullet is set to the right one (the dots below the slides) but the actual slide is always set to the first one.
I did some search on the already raised issues regarding this but none of them helped me to resolve my problem as I think my case is a bit different as the index needs to be set on scene render (I am not updating it after the render. I need it to be set on scene load).
can anyone please help me out with this issue?
Thanks,
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
The report provides no file, test, entry point, or minimal reproduction. Start by reproducing the Android-only mismatch between the selected bullet and displayed slide during scene load, then identify the swiper implementation and tests involved; done means the initial index selects the corresponding slide on Android without regressing iOS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100