leecade / leecade/react-native-swiper

Autoplay doesn't work after hold the slide for a while

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

Which OS ?

iOS

Version

Which versions are you using:

  • react-native-swiper ^1.5.13
  • react-native 0.55.4
Expected behaviour

When I swipe (onTouchStart) the current slide slightly (within half of the current slide) to the previous/next slide, and hold it for a while (more autoplayTimeout 2.5s), and then release(onTouchEnd) it to the current slide, autoplay stops, AND only after I swipe the current slide completely to the previous/next slide, autoplay works again.

Actual behaviour

Autoplay continues

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.

Steps to reproduce

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 reported iOS behavior with react-native-swiper 1.5.13 and React Native 0.55.4, using an example in the examples folder. Inspect the touch and autoplay handling around holding and releasing a partially swiped slide; done means autoplay stops after returning to the current slide and resumes only after a completed slide transition.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.