Skip to content

Commit

Permalink
Remove scroll down on content size change
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Middendorf committed Mar 15, 2019
1 parent 097007b commit f126012
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/screens/Stats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,10 @@ class Stats extends Component<Props, State> {
}

private contentSizeChange() {
if (this.scrollViewRef !== undefined) {
this.scrollViewRef.scrollToEnd();
}
// This behavior is a bit strange
/* if (this.scrollViewRef !== undefined) {
this.scrollViewRef.scrollToEnd();
} */
}

private nextMonth() {
Expand Down

0 comments on commit f126012

Please sign in to comment.