feat: remove scrolling to bottom upon embed load as it causes it to happen on loading older messages
This commit is contained in:
parent
ec66a0a61a
commit
b95afcc2be
1 changed files with 0 additions and 3 deletions
|
@ -129,9 +129,6 @@ onMounted(async () => {
|
||||||
}
|
}
|
||||||
if (mediaLinks.length) {
|
if (mediaLinks.length) {
|
||||||
hasEmbed.value = true
|
hasEmbed.value = true
|
||||||
setTimeout(() => {
|
|
||||||
scrollToBottom(document.getElementById("messages") as HTMLDivElement);
|
|
||||||
}, 500);
|
|
||||||
};
|
};
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue