chore: stop scrolling when wheeling in chat page

This commit is contained in:
jialin
2025-04-22 16:07:44 +08:00
parent ac1bf7c9bf
commit 1e68b75c68
4 changed files with 48 additions and 6 deletions
@@ -176,7 +176,6 @@ export default function useChatCompletion(
setLoading(false);
}
};
const throttleUpdatePosition = _.throttle(updateScrollerPosition, 100);
useEffect(() => {
if (scroller.current) {