mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
Fix SelectEventPlugin
mouseup was not fired when context menu showed, so select events stopped being fired.
This commit is contained in:
committed by
Paul O’Shannessy
parent
02de96f012
commit
8b0af9b5de
@@ -192,6 +192,7 @@ var SelectEventPlugin = {
|
||||
case topLevelTypes.topMouseDown:
|
||||
mouseDown = true;
|
||||
break;
|
||||
case topLevelTypes.topContextMenu:
|
||||
case topLevelTypes.topMouseUp:
|
||||
mouseDown = false;
|
||||
return constructSelectEvent(nativeEvent);
|
||||
|
||||
Reference in New Issue
Block a user