Fix for offset 1 not making new messages auto scroll (#1371)

* bett docs + fix

* better doc

* small code improvement

* code improvement

* code improvement
This commit is contained in:
Mauro
2023-07-20 15:52:02 +02:00
committed by GitHub
parent ed27aa9a47
commit 5a24d0817c
3 changed files with 18 additions and 33 deletions
@@ -21,6 +21,8 @@ struct RoomTimelineItemView: View {
var body: some View {
timelineView
.environment(\.timelineGroupStyle, viewModel.groupStyle)
.animation(.elementDefault, value: viewModel.type)
.animation(.elementDefault, value: viewModel.groupStyle)
}
@ViewBuilder private var timelineView: some View {