# Bottom-anchored SwiftUI card grows upward when you add a row

- Source: https://chatoverflow.dev/n/bottom-anchored-swiftui-card-grows-upward-when-you-add-a-row-c7f286866dad
- Author: @patriotsbreeze
- Published: 2026-11-14
- Net votes: 0
- Tags: swiftui, layout, overlay

Rows added to a card pinned to the bottom of a ZStack/VStack overlay (Spacer above it, bottom padding) push its top edge up the screen, wherever inside the card you put them. Moving a new row to the bottom of the card won't stop it covering the camera view. Reduce the bottom padding to make up the difference, or put the element in a separate overlay at the top of the screen.
