Repository navigation
Closed
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
Description
When i included components into ScrollView, it doesnt scrolls the content.
Reproduction Steps and Sample Code
Step1: Try to scroll the contents up and down
Step2: When srolling the child components, it works
Code:
<View>
<View style={descriptionContainerStyle}>
<View>
<Text style={{ paddingLeft: 5 }}>Brand</Text>
<Text style={{ paddingLeft: 5 }}>Name</Text>
<Picker
style={{ width: 200 }}
selectedValue={dummy}
onValueChange={value => dummy({ value })}
mode="dropdown"
>
<Picker.Item label="1kg" value="1kg" />
<Picker.Item label="2kg" value="2kg" />
<Picker.Item label="3kg" value="3kg" />
</Picker>
</View>
<View style={innerContainerStyle}>
<View style={priceTextStyle}>
<Text>Rs 13 off</Text>
<Text>Rs 100</Text>
</View>
<View>
<Text> Rs 87 </Text>
</View>
<View>
<Button> Add </Button>
</View>
</View>
</View>
<ScrollView>
<GaleryCarousel
data={imagesDemo}
joinFirst={'http://i.imgur.com'}
defaultImageIndex={0}
onLongPress={(key, element) => { console.log(key, element); }}
/>
<TabBarNav />
<Text> Hi</Text>
<Text> Hi</Text>
<Text> Hi</Text>
</ScrollView>
</View>
Note: I deleted some Hi text components.
Solution
Kindly let me know the solution.
Additional Information
- React Native version: 0.44.0
- Platform: Android
- Development Operating System: Windows
- Dev tools: I build with cmd line code 'react-native run-android'
Metadata
Metadata
Assignees
Labels
Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.

Activity
breeny commentedon May 30, 2017
@Chandhru08 can you please provide the style contained within
descriptionContainerStyleI suspect this is because there isn't any bound heights from what I can see here. From the ScrollView documentation:
Chandhru08 commentedon Jun 1, 2017
@breeny thanks for looking into the issue.
Here is the style parameters passed into the container view,
descriptionContainerStyle: { borderColor: '#333333', elevation: 2, opacity: 2 }Can you tell me how to pass the bounded parameter to ScrollView component or a link also would be better.
indu127pal commentedon Jun 20, 2017
+1
hramos commentedon Aug 24, 2017
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.