Skip to content

Commit

Permalink
fix: ScrollView部分埋点工具无法区分滑动和点击事件
Browse files Browse the repository at this point in the history
  • Loading branch information
NeverEllipsis committed Aug 22, 2024
1 parent 4620d19 commit bc7d625
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/bui-core/src/ScrollView/ScrollView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ const ScrollView = forwardRef<HTMLDivElement, ScrollViewProps>(
const handleRef = useForkRef(ref, container);

const onTouchMove = (e) => {
e.stopPropagation();
// 会导致埋点工具无法正确区分滑动和点击,必须去掉。
// e.stopPropagation();
};

const scrollVertical = useCallback((top, isAnimation) => {
Expand Down

0 comments on commit bc7d625

Please sign in to comment.