Skip to content

Commit 732e377

Browse files
author
Tautvilas Mečinskas
authored
Merge pull request wix#626 from entria/fix/props
fix(bug): get pastScrollRange and futureScrollRange from props, fix wix#625
2 parents 610734a + c1f6a8b commit 732e377

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
@@ -202,7 +202,7 @@ class CalendarList extends Component {
202202
ref={(c) => this.listView = c}
203203
//scrollEventThrottle={1000}
204204
style={[this.style.container, this.props.style]}
205-
initialListSize={this.pastScrollRange + this.futureScrollRange + 1}
205+
initialListSize={this.props.pastScrollRange + this.props.futureScrollRange + 1}
206206
data={this.state.rows}
207207
//snapToAlignment='start'
208208
//snapToInterval={this.calendarHeight}

0 commit comments

Comments
 (0)