leecade / leecade/react-native-swiper

Custom nextButton and prevButton removes hidden state

Open
#62 5 comments 2 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

If I don't set custom markup for nextButton and prevButton, the arrow buttons behave as they should: a next button doesn't appear on the last slide and a previous button doesn't appear on the first slide. Implement custom buttons removes this functionality.

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 custom nextButton and prevButton markup, comparing it with the default arrow-button behavior on the first and last slides. Trace the custom-button entry points and verify that the buttons regain the appropriate hidden state at both boundaries.

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
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.