Skip to content

Commit 6a4022f

Browse files
author
Tautvilas Mecinskas
committed
disable scrollToTop by default
1 parent d123708 commit 6a4022f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/calendar-list/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ class CalendarList extends Component {
181181
keyExtractor={(item, index) => index}
182182
initialScrollIndex={this.state.openDate ? this.getMonthIndex(this.state.openDate) : false}
183183
getItemLayout={this.getItemLayout}
184-
scrollsToTop={this.props.scrollsToTop !== undefined ? this.props.scrollsToTop : true}
184+
scrollsToTop={this.props.scrollsToTop !== undefined ? this.props.scrollsToTop : false}
185185
/>
186186
);
187187
}

0 commit comments

Comments
 (0)