mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix typo (#20188)
This commit is contained in:
+1
-1
@@ -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
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user