dev #1

Merged
tdpeuter merged 12 commits from dev into main 2024-03-19 12:35:07 +01:00
2 changed files with 6 additions and 2 deletions
Showing only changes of commit 3790790a18 - Show all commits

View file

@ -140,7 +140,9 @@
};
const scrollToBottom = () => {
messagesContainerElement.scrollTop = messagesContainerElement.scrollHeight;
if (messagesContainerElement) {
messagesContainerElement.scrollTop = messagesContainerElement.scrollHeight;
}
};
//////////////////////////

View file

@ -160,7 +160,9 @@
};
const scrollToBottom = () => {
messagesContainerElement.scrollTop = messagesContainerElement.scrollHeight;
if (messagesContainerElement) {
messagesContainerElement.scrollTop = messagesContainerElement.scrollHeight;
}
};
//////////////////////////