Manually publish room list range updates when the content isn't scrollable

This commit is contained in:
Stefan Ceriu
2026-07-30 16:54:34 +03:00
parent eabbeffd09
commit 4ca7c1a8fa
@@ -146,6 +146,8 @@ struct HomeScreenContent: View {
}
guard scrollView.contentSize.height > scrollView.bounds.height else {
// This list never scrolls, publish the range manually.
context.send(viewAction: .updateVisibleItemRange(0..<context.viewState.visibleRooms.count))
return
}