Fixing Room List in Spaces View Not Rendering Some Rooms (#5595)

Removed drawingGroup call in SpaceRoomCell and fix #5306
This commit is contained in:
Atridad Lahiji
2026-05-18 13:23:09 +00:00
committed by GitHub
parent 087bf9a2c8
commit 96230fcc36
@@ -81,9 +81,6 @@ struct SpaceRoomCell: View {
}
}
.padding(.horizontal, horizontalInsets)
// Ensure the EditMode transition stays inside this cell if there are other insertions/removals in the list.
// Seems to slow down the animations a bit in Xcode previews but its fine in the simulator and on a device.
.drawingGroup()
.accessibilityElement(children: .combine)
}
.buttonStyle(SpaceRoomCellButtonStyle(isHighlighted: isHighlighted))