From 5b9cfc69c70a965aed3048495652f3ae25a20497 Mon Sep 17 00:00:00 2001 From: yulricsequeira Date: Sat, 3 Oct 2015 18:06:36 -0400 Subject: [PATCH] Fixed issue #1738 --- src/date-picker/calendar.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/date-picker/calendar.jsx b/src/date-picker/calendar.jsx index b822aad0d7320e..9c5a9f273d712f 100644 --- a/src/date-picker/calendar.jsx +++ b/src/date-picker/calendar.jsx @@ -260,7 +260,7 @@ const Calendar = React.createClass({ _getToolbarInteractions() { return { - prevMonth: DateTime.monthDiff(this.state.selectedDate, this.props.minDate) > 0, + prevMonth: DateTime.monthDiff(this.state.displayDate, this.props.minDate) > 0, nextMonth: DateTime.monthDiff(this.state.selectedDate, this.props.maxDate) < 0, }; },