diff --git a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/TimelineView.kt b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/TimelineView.kt index a2a40071c3..443fc1681a 100644 --- a/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/TimelineView.kt +++ b/features/messages/impl/src/main/kotlin/io/element/android/features/messages/impl/timeline/TimelineView.kt @@ -430,6 +430,8 @@ private fun BoxScope.TimelineScrollHelper( onMarkAsRead = onMarkAllAsRead, testTag = TestTags.jumpToUnreadButton, ) + // Reserves space for the jump to bottom button so the jump to unread button above + // stays in the same position regardless of whether the jump to bottom button is visible. Box(modifier = Modifier.size(36.dp)) { JumpToPositionButton( icon = CompoundIcons.ChevronDown(),