Remove scrollIntoView

This commit is contained in:
0x1eef 2023-12-04 03:57:27 -03:00
parent abcb0d6d76
commit 6706f8a4a9

View file

@ -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]);