leecade / react-native-swiper

The best Swiper component for React Native.
MIT License
10.4k stars 2.34k forks source link

CRITICAL BUG #804

Open sujay-bidchat opened 6 years ago

sujay-bidchat commented 6 years ago

Which OS ?

iOS

Version

Which versions are you using:

Expected behaviour

Swiper should slide from index 0 to n

Actual behaviour

If the index is set to 0, it displays #0 screen for sometime and than (index - 1) screen is displayed on the same initial activeDot.

This happens only first time.

How to reproduce it>

Normal case scenario.

Steps to reproduce

  1. Open a new screen with Swiper
  2. Observe the first screen
  3. After very short time the last screen is displayed
JakeRawr commented 6 years ago

I don't get how this JUST started to happen. I was on v1.5.13 for a while now. And all the sudden, this bug is happening.

For me the bug is that it automatically show the last index instead of the first index.

JakeRawr commented 6 years ago

PR https://github.com/leecade/react-native-swiper/pull/779 would fix this problem. Please merge this

sujay-bidchat commented 6 years ago

@JakeRawr Thanks a lot for the quick response and the fix 👍

haydenlingle commented 6 years ago

@JakeRawr this fixed my issues with wrong first slide rendering. Thanks! Now just need it added to the actual package..