From 48cf649e5ac2dbc562512ed3e70009af01cf0676 Mon Sep 17 00:00:00 2001 From: Klink <85062+dogmar@users.noreply.github.com> Date: Wed, 13 Dec 2023 15:45:03 -0800 Subject: [PATCH] =?UTF-8?q?fix:=20Broken=20=E2=80=9CBack=20to=20top?= =?UTF-8?q?=E2=80=9D=20button=20for=20virtualized=20Tables=20(#549)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Table.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Table.tsx b/src/components/Table.tsx index 8db448c7..6a9ce00a 100644 --- a/src/components/Table.tsx +++ b/src/components/Table.tsx @@ -841,7 +841,7 @@ function TableRef( onClick={() => tableContainerRef?.current?.scrollTo({ top: 0, - behavior: 'smooth', + behavior: virtualizeRows ? 'instant' : 'smooth', }) } >