Skip to content

Commit

Permalink
remove getItemLayout which causes scroll position issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dratwas committed Oct 28, 2019
1 parent 2461051 commit da4f5c2
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ export class BlockList extends Component {
ListHeaderComponent={ header }
ListEmptyComponent={ this.renderDefaultBlockAppender }
ListFooterComponent={ withFooter && this.renderBlockListFooter }
getItemLayout={ ( data, index ) => {
return { length: 0, offset: 0, index };
} }
/>

{ renderAppender && blockClientIds.length > 0 &&
Expand Down

0 comments on commit da4f5c2

Please sign in to comment.