From 0bad1a479f642c8c5183017641656d52c4b33c61 Mon Sep 17 00:00:00 2001 From: NamH Date: Thu, 25 Apr 2024 17:24:29 +0700 Subject: [PATCH] fix: remove scroll animation chat screen (#2819) Signed-off-by: James Co-authored-by: James --- web/containers/ListContainer/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/containers/ListContainer/index.tsx b/web/containers/ListContainer/index.tsx index fdf34b9ece..0d3e6de617 100644 --- a/web/containers/ListContainer/index.tsx +++ b/web/containers/ListContainer/index.tsx @@ -12,7 +12,7 @@ const ListContainer: React.FC = ({ children }) => { listRef.current?.scrollTo({ top: scrollHeight, - behavior: 'smooth', + behavior: 'instant', }) })