mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +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