From 804db616ab35932beaa0b8b44aa5dfe4070ce935 Mon Sep 17 00:00:00 2001 From: jquense Date: Wed, 30 Sep 2015 10:32:07 -0400 Subject: [PATCH] [fixed] Calendar only refocuses itself when previously focused --- src/Calendar.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Calendar.jsx b/src/Calendar.jsx index 9cc501449..9e804a41d 100644 --- a/src/Calendar.jsx +++ b/src/Calendar.jsx @@ -213,7 +213,7 @@ let Calendar = React.createClass({ ref='animation' duration={duration} direction={slideDirection} - onAnimate={() => this.focus(true)} + onAnimate={() => focused && this.focus()} >