React-native-swiper: question: Is there an option to set the duration of the transition between sliders when `autoplay` is enabled?

Created on 8 Nov 2019  ·  2Comments  ·  Source: leecade/react-native-swiper

Which OS ?

Kubuntu 18.04

Version

Which versions are you using:

  • react-native-swiper 1.5.14
  • react-native v0.60.4

Expected behaviour

When the prop is set to a value, the transition between slides will animate in that time.

I searched and no prop appear to exists for this specific use case.

I do not mean the time to wait to select the next slide, but the time it takes the next slide to animate itself into the active position once autoplayTimeout ticked in.

Actual behaviour

Noop

How to reproduce it>

Noop

Steps to reproduce

Noop

Most helpful comment

@husnaintahir You seems didn't understood what I meant.

I explicitely said that it is not autoplayTimeout what I needed.

What I need is to control the duration of the transition itself, which is too quickly, I mean, when the next slide started to come to the active position until it finally transitions and become at the center of the carousel in its final transitioned position.

Hope that clarifies this use case.

All 2 comments

Yes, use following
autoplayTimeout ={delay_in_seconds}

@husnaintahir You seems didn't understood what I meant.

I explicitely said that it is not autoplayTimeout what I needed.

What I need is to control the duration of the transition itself, which is too quickly, I mean, when the next slide started to come to the active position until it finally transitions and become at the center of the carousel in its final transitioned position.

Hope that clarifies this use case.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tokict picture tokict  ·  3Comments

tibic picture tibic  ·  3Comments

AndrewSouthpaw picture AndrewSouthpaw  ·  3Comments

ruben-kasaz picture ruben-kasaz  ·  3Comments

chetanparakh picture chetanparakh  ·  3Comments