Closed
Description
Is this a bug report?
Maybe yes...
Have you read the Contributing Guidelines?
Yes
Environment
react-native -v
: 0.45.1node -v
: 8.1.2npm -v
: 5.3.0yarn --version
:
Then, specify:
- Target Platform: Android
- Development Operating System:MacOS
Steps to Reproduce
- add a vertical scrollview component to the page;
- add some items to the scrollview;
3.even the items don't fill the screen, the content still can scroll down a few distance;
I have try to add iosalwaysBounceVertical = {false} and iosbounces = {false} prop, but still not working. that is not occurred with Android.
Expected Behavior
if the items are not long enough to fill the screen, the items can not be scrolled manually;
Actual Behavior
they can be scolled;
(Write what happened. Add screenshots!)
Reproducible Demo
<ScrollView showsVerticalScrollIndicator={false}>
{
d.plan.map((item,index)=>{
return <View key={index}>{this.renderItem(item,d)}</View>
})
}
</ScrollView>
(Paste the link to an example project and exact instructions to reproduce the issue.)