React-Native-ViewPager
React-Native-ViewPager copied to clipboard
The IndicatorViewPager inside ScrollView doesn't display pages
It works fine if below:
<View> <Animated.View> <IndicatorViewPager> ...pages </IndicatorViewPager> </Animated.View> </View>
But if I put the above code into a <ScrollView>, the pages doesn't display.
This issue happends in Android, not tested in iOS.
What do you mean But if I put the above code into a , the pages doesn't display?
Text missing, fixed. into a <ScrollView>.
if you put into a <ScrollView>, you need specify the size of viewpager
This also works with ListView. You've to define height & width explicitly. If it's a ListView don't forget removeClippedSubviews={false}