React-Native-ViewPager icon indicating copy to clipboard operation
React-Native-ViewPager copied to clipboard

The IndicatorViewPager inside ScrollView doesn't display pages

Open SiBorya opened this issue 8 years ago • 4 comments

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.

SiBorya avatar Jul 02 '17 04:07 SiBorya

What do you mean But if I put the above code into a , the pages doesn't display?

zbtang avatar Jul 02 '17 07:07 zbtang

Text missing, fixed. into a <ScrollView>.

SiBorya avatar Jul 02 '17 14:07 SiBorya

if you put into a <ScrollView>, you need specify the size of viewpager

zbtang avatar Jul 03 '17 07:07 zbtang

This also works with ListView. You've to define height & width explicitly. If it's a ListView don't forget removeClippedSubviews={false}

akvsh-r avatar Jan 26 '18 07:01 akvsh-r