leecade / leecade/react-native-swiper

feat: Add an option to control the transition time of a swipe

Open
#1,198 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

✨enhancement
Dominant language
JavaScript
Stars
10.5k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

Which OS ?

Android and iOS

Version

Which versions are you using:

  • react-native-swiper 1.5.14 (I checked this on 1.6.0 too)
  • react-native v0.60.4
Expected behaviour

It would be nice to have an option in the Autoplay section like autoplayTransitionDuration or something like that, that control the time that takes a slide to, well, end the transition.

I'm not talking about the time to wait until the transition starts, but the time since the transition started to its end.

This way the transitions can be slowed down since in my case they move too fast.

Actual behaviour

The slide transitions are too fast and I need to slow them down and it seems that there is no option to do that.

How to reproduce it

Noop.

Steps to reproduce

Noop.

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 locating the autoplay and slide-transition implementation in the repository; the issue does not name a file, entry point, or test. Trace where the transition begins and ends, then identify the existing autoplay options and add a configurable transition-time behavior with coverage for the resulting timing.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.