Calendar: Fix navigating of month view (workaround big-calendar bug)

This is a workaround for:
https://github.com/intljusticemission/react-big-calendar/issues/718
master
Tom Hacohen 2018-02-22 20:15:27 +00:00
parent 56c12012fe
commit 4c441de728
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ class Calendar extends React.PureComponent {
return (
<div style={{width: '100%', height: 500}}>
<BigCalendar
defaultDate={new Date()}
events={this.props.entries}
selectable={true}
onSelectEvent={this.props.onItemClick as any}