The answer from E.Coms above was very helpful! But instead of replacing the width (325)
of all my UI elements, I appended .frame(width: UIScreen.main.bounds.size.width)
to the top-level wrapper. It seems to work just fine now!
↧
Answer by Christopher Davis for A single component's animation is messing up the whole view — SwiftUI
↧