diff --git a/ElementX/Sources/Screens/Spaces/Common/SpaceRoomCell.swift b/ElementX/Sources/Screens/Spaces/Common/SpaceRoomCell.swift index ec3f1ae43..6b6796f53 100644 --- a/ElementX/Sources/Screens/Spaces/Common/SpaceRoomCell.swift +++ b/ElementX/Sources/Screens/Spaces/Common/SpaceRoomCell.swift @@ -81,6 +81,8 @@ struct SpaceRoomCell: View { } } .padding(.horizontal, horizontalInsets) + // Ensure the EditMode transition stays inside this cell if there are other insertions/removals in the list. + .geometryGroup() .accessibilityElement(children: .combine) } .buttonStyle(SpaceRoomCellButtonStyle(isHighlighted: isHighlighted))