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.
Josh Duck committed
Oct 22, 2013 at 13:49 UTC
0d2d3360d0cf4eeacc388e625c91c72ccb8c4190
1 file changed
-2
src/eventPlugins/SelectEventPlugin.js
-2
@@ -182,14 +182,12 @@ var SelectEventPlugin = {
182
activeElement = topLevelTarget;
183
activeElementID = topLevelTargetID;
184
lastSelection = null;
185
- mouseDown = false;
185
}
186
break;
187
case topLevelTypes.topBlur:
188
activeElement = null;
189
activeElementID = null;
190
lastSelection = null;
192
- mouseDown = false;
191
break;
192
193
// Don't fire the event while the user is dragging. This matches the