Use smooth scrolling with chat
This commit is contained in:
parent
9885fe5884
commit
da89b7d733
@ -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…
x
Reference in New Issue
Block a user