mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Revert D74361644: IntersectionObserver: Clean up shadow nodes after unobserve
Differential Revision: D74361644 Original commit changeset: 1a5ccce1486a Original Phabricator Diff: D74361644 fbshipit-source-id: 89792482a09501aed24c21627c44b3229a0c7a32
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a55f430daa
commit
f00fbaedbe
-2
@@ -232,7 +232,6 @@ export function unobserve(
|
||||
);
|
||||
return;
|
||||
}
|
||||
targetToShadowNodeMap.delete(target);
|
||||
|
||||
NativeIntersectionObserver.unobserve(
|
||||
intersectionObserverId,
|
||||
@@ -246,7 +245,6 @@ export function unobserve(
|
||||
);
|
||||
return;
|
||||
}
|
||||
targetToTokenMap.delete(target);
|
||||
|
||||
modernNativeIntersectionObserver.unobserve(
|
||||
intersectionObserverId,
|
||||
|
||||
Reference in New Issue
Block a user