From 448c546f75ab3c5a8fc7b9092af5c551678f6643 Mon Sep 17 00:00:00 2001 From: Duke Pan Date: Tue, 22 Oct 2024 02:06:05 -0700 Subject: [PATCH] Fix scroll behaviour not assignable --- gui/src/pages/history.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/src/pages/history.tsx b/gui/src/pages/history.tsx index 792e499ea2..08c6059f82 100644 --- a/gui/src/pages/history.tsx +++ b/gui/src/pages/history.tsx @@ -268,8 +268,8 @@ function History() { const rows = tableRef.current.querySelectorAll('tr'); if (rows[index]) { rows[index].scrollIntoView({ - behavior: 'instant', - block: 'center', + behavior: "smooth", + block: "center", }); } }