Don't reset mouseDown in focus handlers

Focus fires after mouse down on initial click, so we lost the
flag when the user initially began dragging on the input.
This commit is contained in:
Josh Duck authored and Paul O’Shannessy committed 2013-10-29 10:16:04 -07:00
1 parent ce612904ef
commit c9d20e56d3
1 file changed
-2
-2
View File
@@ -182,14 +182,12 @@ var SelectEventPlugin = {
activeElement = topLevelTarget;
activeElementID = topLevelTargetID;
lastSelection = null;
mouseDown = false;
}
break;
case topLevelTypes.topBlur:
activeElement = null;
activeElementID = null;
lastSelection = null;
mouseDown = false;
break;
// Don't fire the event while the user is dragging. This matches the