3

I am using react-native-snap-carousel stack layout, they behavior are opposite.When view rendered , on iOS there are two items under first item; on Android, however , no item snapshot under index 0 item. Is there any property to set them behavior exactly same? enter image description here

Mustafa
  • 977
  • 3
  • 12
  • 25
  • can you be more descriptive? please add some code snipped, what you've already done, so it could be easier to help you. – Ivan Salo Mar 16 '20 at 19:03
  • ' { this.carousel = c; }} data={dummyData} layout={'stack'} renderItem={this.renderCell} sliderWidth={WIDTH} itemWidth={WIDTH - scaleSize(120)} activeSlideAlignment={'start'} onSnapToItem={(index)=>this.setState({activeSlide:index})}/>' – Haoyuan Tan Mar 18 '20 at 21:18

0 Answers0