Skip to content

Commit

Permalink
smoother chat
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsPilgaard committed Mar 14, 2024
1 parent 1a7d322 commit e4718e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/web/Jordnaer/Pages/Chat/ChatPage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,8 @@
}

await _messageInput.FocusAsync();
StateHasChanged();
await ScrollToBottom();
}

private async Task SendMessageOnEnter(KeyboardEventArgs keyboardEventArgs)
Expand Down

0 comments on commit e4718e4

Please sign in to comment.