Skip to content

Commit 406f011

Browse files
authored
chore: event passive false (#1127)
1 parent f968c9e commit 406f011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FixedHolder/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const FixedHolder = React.forwardRef<HTMLDivElement, FixedHeaderProps<any>>((pro
8989
e.preventDefault();
9090
}
9191
}
92-
scrollRef.current?.addEventListener('wheel', onWheel);
92+
scrollRef.current?.addEventListener('wheel', onWheel, { passive: false });
9393

9494
return () => {
9595
scrollRef.current?.removeEventListener('wheel', onWheel);

0 commit comments

Comments
 (0)