mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 22:31:09 +03:00
Use smooth scrolling with chat
This commit is contained in:
parent
9885fe5884
commit
da89b7d733
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ export function jumpToBottom(element) {
|
||||||
element.scrollTo({
|
element.scrollTo({
|
||||||
top: element.scrollHeight,
|
top: element.scrollHeight,
|
||||||
left: 0,
|
left: 0,
|
||||||
behavior: 'auto',
|
behavior: 'smooth',
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
50,
|
50,
|
||||||
|
|
Loading…
Reference in a new issue