leecade / leecade/react-native-swiper

How to disable prev swipe and prev button only next i want with swipe and next button

Open
#800 1 comment 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

<Swiper showsButtons={true} loop={false} index={0} onIndexChanged={(index) => this.statusChange(index)} showsPagination={false} prevButton={false} >

        <Appointment_status navigation={this.props.navigation} />
        <Appointment_statuspending navigation={this.props.navigation} />
        <Arrived navigation={this.props.navigation} />
        <Completed navigation={this.props.navigation} />
        <Appointment_complete navigation={this.props.navigation} />
        
      </Swiper>

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 reviewing the Swiper component's showsButtons, prevButton, loop, index, and gesture-related behavior. Confirm how navigation controls and swiping are configured in the shown JSX. Done means backward navigation is disabled while forward navigation remains available through both swipe and the next button.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.