From bc7d625682ecce1327908bdf68ead910ca681ee1 Mon Sep 17 00:00:00 2001 From: NeverEllipsis Date: Wed, 21 Aug 2024 21:14:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20ScrollView=E9=83=A8=E5=88=86=E5=9F=8B?= =?UTF-8?q?=E7=82=B9=E5=B7=A5=E5=85=B7=E6=97=A0=E6=B3=95=E5=8C=BA=E5=88=86?= =?UTF-8?q?=E6=BB=91=E5=8A=A8=E5=92=8C=E7=82=B9=E5=87=BB=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/bui-core/src/ScrollView/ScrollView.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/bui-core/src/ScrollView/ScrollView.tsx b/packages/bui-core/src/ScrollView/ScrollView.tsx index f1a70d63..22c6855f 100644 --- a/packages/bui-core/src/ScrollView/ScrollView.tsx +++ b/packages/bui-core/src/ScrollView/ScrollView.tsx @@ -55,7 +55,8 @@ const ScrollView = forwardRef( const handleRef = useForkRef(ref, container); const onTouchMove = (e) => { - e.stopPropagation(); + // 会导致埋点工具无法正确区分滑动和点击,必须去掉。 + // e.stopPropagation(); }; const scrollVertical = useCallback((top, isAnimation) => {