React-native-swiper: First image of the slider flickers when autoplay and loop is set to true

Created on 3 Oct 2020  路  2Comments  路  Source: leecade/react-native-swiper

Which OS ?

Android, haven't tasted on IOS yet

Version

Which versions are you using:

  • react-native-swiper v1.6.0
  • react-native v0.63.2

Expected behaviour

Expected the animation to be smooth when coming back to the first slide

Actual behaviour

But its flicker once when returning to the first slide

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.

I used the example code

Also attaching a GIF file for the same might take some time to load.

newcropped

Most helpful comment

Try to set removeClippedSubviews to false.

     <RNSwiper
        autoplay
        loop
        removeClippedSubviews={false}
      >

That worked for me.

All 2 comments

Try to set removeClippedSubviews to false.

     <RNSwiper
        autoplay
        loop
        removeClippedSubviews={false}
      >

That worked for me.

Yes worked ty @VictorioMolina

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ruben-kasaz picture ruben-kasaz  路  3Comments

AndrewSouthpaw picture AndrewSouthpaw  路  3Comments

kylehagler picture kylehagler  路  3Comments

agzuniverse picture agzuniverse  路  3Comments

itinance picture itinance  路  3Comments