Open
Description
Description
I have an <Agenda />
and when I open CalendarList it is not rendering the past months and the ones after January 2019. I can scroll but all it shows is a blank screen.
I also tried to define the <CalendarList />
without the agenda but the behaviour is the same.
Expected Behavior
To render every past month and the future ones
Agenda definition
<Agenda
items={this.items}
// current={this.state.selectedDay}
loadItemsForMonth={this.loadItems.bind(this)}
//selected={'2017-05-16'}
ref={(agenda) => { this.agenda = agenda; }}
renderItem={this.renderItem.bind(this)}
renderEmptyDate={this.renderEmptyDate.bind(this)}
rowHasChanged={this.rowHasChanged.bind(this)}
onCalendarToggled={this.onCalendarToggled.bind(this)}
onDayChange={this.onDayChange.bind(this)}
onDayPress={this.onDayPress.bind(this)}
theme={{
height: 300,
selectedDayBackgroundColor: '#42B5A0',
textDayFontSize: 20,
arrowColor: 'black',
monthTextColor: 'black',
textMonthFontSize: 25,
textDayHeaderFontSize: 14,
textSectionTitleColor: '#42B5A0',
agendaKnobColor: '#42B5A0',
agendaKnobSize: 12,
'stylesheet.agenda.main': {
knobContainer: {
flex: 1,
position: 'absolute',
left: 0,
right: 0,
height: 19,
bottom: 0,
alignItems: 'center',
}
}
}}
/>
Environment
Android/iOS