Remove scrollIntoView
This commit is contained in:
parent
bd627f6704
commit
74576b05aa
1 changed files with 0 additions and 1 deletions
|
@ -61,7 +61,6 @@ export function Stream({
|
||||||
if (el) {
|
if (el) {
|
||||||
const top = 1024 + el.scrollHeight + el.scrollTop;
|
const top = 1024 + el.scrollHeight + el.scrollTop;
|
||||||
el.scrollBy({ behavior: "smooth", top });
|
el.scrollBy({ behavior: "smooth", top });
|
||||||
el.scrollIntoView({ behavior: "smooth" });
|
|
||||||
}
|
}
|
||||||
}, [stream.length]);
|
}, [stream.length]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue