diff --git a/yobble/Views/Chat/PrivateChatView.swift b/yobble/Views/Chat/PrivateChatView.swift index 1618c2d..f478c3c 100644 --- a/yobble/Views/Chat/PrivateChatView.swift +++ b/yobble/Views/Chat/PrivateChatView.swift @@ -98,6 +98,8 @@ struct PrivateChatView: View { .onChange(of: viewModel.isInitialLoading) { isLoading in if isLoading { hasPositionedToBottom = false + } else if !viewModel.messages.isEmpty { + scrollToBottomTrigger = .init() } } .safeAreaInset(edge: .bottom) {