Skip to content

Commit

Permalink
Scroll to bottom of chat
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 committed Nov 30, 2023
1 parent 918098f commit f9cceb2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ private void sendWaitingMessagesIfLoaded(State newValue) {
synchronized (waitingMessages) {
waitingMessages.forEach(AbstractChatTabController.this::addMessage);
waitingMessages.clear();
scrollToBottomIfDesired();
isChatReady = true;
}
}
Expand Down

0 comments on commit f9cceb2

Please sign in to comment.