From 9ef45555b67ed4baf7bfee18b13a8f5a5d9401a6 Mon Sep 17 00:00:00 2001 From: shulandmimi Date: Thu, 12 Feb 2026 19:39:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=8D=E5=AF=B9=20intersectionRatio?= =?UTF-8?q?=20=E4=BD=9C=E5=9B=9B=E8=88=8D=E4=BA=94=E5=85=A5=EF=BC=8C?= =?UTF-8?q?=E5=92=8C=E5=BE=AE=E4=BF=A1=E5=B0=8F=E7=A8=8B=E5=BA=8F=E6=8B=89?= =?UTF-8?q?=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/create-intersection-observer/rnIntersectionObserver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api-proxy/src/platform/api/create-intersection-observer/rnIntersectionObserver.js b/packages/api-proxy/src/platform/api/create-intersection-observer/rnIntersectionObserver.js index ad311a4dc9..b6ece1e7ee 100644 --- a/packages/api-proxy/src/platform/api/create-intersection-observer/rnIntersectionObserver.js +++ b/packages/api-proxy/src/platform/api/create-intersection-observer/rnIntersectionObserver.js @@ -222,7 +222,7 @@ class RNIntersectionObserver { // index: index, id: this.observerRefs[index].getNodeInstance().props?.current?.id, dataset: this.observerRefs[index].getNodeInstance().props?.current?.dataset || {}, - intersectionRatio: Math.round(intersectionRatio * 100) / 100, + intersectionRatio, intersectionRect, boundingClientRect: observeRect, relativeRect: relativeRect,