machadogj / react-native-carousel-control

React Native Carousel control with support for iOS and Android
MIT License
247 stars 55 forks source link

initialPage props is not working #6

Closed karthickvkumar closed 8 years ago

karthickvkumar commented 8 years ago

Hi @machadogj thanks for this awesome library, When i tried passing initalPage props in carousle. Its not working in android. Its just simply taking the default props <Carousel initialPage={3}> .... </Carousel>

It would be helpful if u provide any solution for this

Thanks in Advance

machadogj commented 8 years ago

Hi, thanks for reporting, I have fixed this in 3e8941b npm version 1.0.2.

sergioribeiro commented 8 years ago

How do I fix it? I'm using a newer version and having the same problem.

npm -v react-native-carousel-control 2.15.8

machadogj commented 8 years ago

Hi @sergioribeiro, try with npm install react-native-carousel-control@latest.

sergioribeiro commented 8 years ago

Thanks for the prompt response @machadogj. Just updated and it is still taking the default one "0". :(