nick / react-native-carousel

Carousel component for react-native
MIT License
458 stars 107 forks source link

Not working with ScrollView #74

Open priyesh9875 opened 7 years ago

priyesh9875 commented 7 years ago

It works with View, but not working with ScrollView

Platform: Android 6

willemotlucas commented 7 years ago

Hi @priyesh9875,

I think this is a platform related issue since I managed to make it work on iOS without any problem. But you're right, I am facing some issues on Android...

mikelambert commented 7 years ago

Set the containing ScrollView to removeClippedSubviews={false} and things should work (though it's not a great solution for performance reasons). See https://github.com/facebook/react-native/issues/8088