Opens Bottom Problem
See original GitHub issueHello everyone. My app start in feed, i reversed with react-native-invertible-scroll-view. But it starts bottom like whatsapp but I want to it starts on top like facebook homepage. Please help me!
createDataSource({ studentsArray }) {
const ds = new ListView.DataSource({
rowHasChanged: (r1, r2) => r1 !== r2
});
this.dataSource = ds.cloneWithRows(studentsArray);
}
renderRow(ogrenci) {
return <ListItem ogrenci={ogrenci} />;
}
</View>
<ListView
renderScrollComponent={props => <InvertibleScrollView {...props} inverted />}
enableEmptySections
dataSource={this.dataSource}
renderRow={this.renderRow}
/>
</View>
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
Anal fissure - NHS
An anal fissure is a tear or open sore (ulcer) that develops in the lining of the large intestine, near the anus. Anal...
Read more >how to fix an element in bottom while the keyboard is open
When I open the keyboard he element goes to middle of the page. It's a normal situation 1. I want this second image....
Read more >Bowel incontinence - Illnesses & conditions - NHS inform
Bowel incontinence is an inability to control bowel movements, resulting in involuntary soiling. It's also sometimes known as faecal incontinence.
Read more >Hypospadias - Symptoms and causes - Mayo Clinic
Hypospadias is a birth defect in which the opening of the urethra is located on the underside of the penis instead of the...
Read more >How to stop - Google chrome window opening bottom right of ...
Exit Chrome, navigate to your User Data folder (eg C:\Users\IanN\AppData\Local\Google\Chrome\User Data\Default), then open the file Preferences and look for ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So you don’t need
react-native-invertible-scroll-view
. It is not about the layout, it is about your data. You need to reverse the order of your data array.https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reverse
hey it worked!!! You are amazing man!!