This commit is contained in:
inokawa
2020-11-09 09:17:40 -05:00
committed by GitHub
parent c29710a570
commit fc06cf8d35
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -551,7 +551,7 @@ export function dispatchEventForPluginEventSystem(
if (
enableLegacyFBSupport &&
// If our event flags match the required flags for entering
// FB legacy mode and we are prcocessing the "click" event,
// FB legacy mode and we are processing the "click" event,
// then we can defer the event to the "document", to allow
// for legacy FB support, where the expected behavior was to
// match React < 16 behavior of delegated clicks to the doc.
+1 -1
View File
@@ -252,7 +252,7 @@ export function dispatchEvent(
return;
}
// We need to clear only if we didn't queue because
// queueing is accummulative.
// queueing is accumulative.
clearIfContinuousEvent(domEventName, nativeEvent);
}