From 6706f8a4a921cb1af362516f56cf3953c8b1a72b Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Mon, 4 Dec 2023 03:57:27 -0300 Subject: [PATCH] Remove scrollIntoView --- src/js/components/Stream.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/js/components/Stream.tsx b/src/js/components/Stream.tsx index 4fef28c..8008467 100644 --- a/src/js/components/Stream.tsx +++ b/src/js/components/Stream.tsx @@ -61,7 +61,6 @@ export function Stream({ if (el) { const top = 1024 + el.scrollHeight + el.scrollTop; el.scrollBy({ behavior: "smooth", top }); - el.scrollIntoView({ behavior: "smooth" }); } }, [stream.length]);