fix: automatically scrolling to bottom of chat not working properly
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful

This commit is contained in:
SauceyRed 2025-07-14 01:07:46 +02:00
parent 480c91d419
commit b6b8d10d29
Signed by: sauceyred
GPG key ID: 2BF92EB6D8A5CCA7

View file

@ -251,6 +251,8 @@ onMounted(async () => {
if (import.meta.server) return;
console.log("[MSG] messages keys:", Object.values(messages.value));
if (messagesElement.value) {
await nextTick();
await nextTick();
scrollToBottom(messagesElement.value);
let fetched = false;
const amount = messages.value.length;