diff --git a/damus/Views/DMChatView.swift b/damus/Views/DMChatView.swift index bd91c60f..0c71bc6e 100644 --- a/damus/Views/DMChatView.swift +++ b/damus/Views/DMChatView.swift @@ -27,6 +27,10 @@ struct DMChatView: View { } .onAppear { scroller.scrollTo("endblock") + }.onChange(of: dms.events.count) { _ in + withAnimation { + scroller.scrollTo("endblock") + } } } }