From 39b6c00c6de718db33c3aa0ea4d6c40d7221f106 Mon Sep 17 00:00:00 2001 From: jialin Date: Wed, 8 Jan 2025 15:40:09 +0800 Subject: [PATCH] fix: stop auto scrolling on logs --- src/components/logs-viewer/logs-list.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/logs-viewer/logs-list.tsx b/src/components/logs-viewer/logs-list.tsx index 9d0b3b48..94cd9042 100644 --- a/src/components/logs-viewer/logs-list.tsx +++ b/src/components/logs-viewer/logs-list.tsx @@ -76,13 +76,14 @@ const LogsList: React.FC = forwardRef((props, ref) => { isTop: false, isBottom: true }); + stopScroll.current = false; } else { onScroll?.({ isTop: false, isBottom: false }); } - debounceResetStopScroll(); + // debounceResetStopScroll(); }, [debounceResetStopScroll, scrollEventElement] );