leecade / leecade/react-native-swiper
keep buttons visible when loop is set to false
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:
- react-native-swiper: ^1.5.13
- react-native v0.504
Hi everyone.
Is there a way to keep the buttons (prevButton and nextButton) visible when the loop is set to false?
What I am trying to accomplish here is to conditionally exit a tour by pressing the nextButton at the very last slide.
I have tried using ** onIndexChanged** with some success but I would like to simplify everything it by keeping the buttons visible.
thanks in advance

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 by reviewing how react-native-swiper handles loop=false and renders prevButton and nextButton, using the issue's final-slide tour scenario as the reproduction case. Done means both buttons remain visible when loop is disabled and the nextButton can be pressed on the last slide.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100