↧
Answer by Christopher Davis for A single component's animation is messing up...
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...
View ArticleAnswer by E.Coms for A single component's animation is messing up the whole...
You need to remove the animation(nil) in the AvatarComponentYou also need to change all .frame(width: 352) to .frame(width: UIScreen.main.bounds.size.width)
View ArticleA single component's animation is messing up the whole view — SwiftUI
I'm building a SwiftUI app for my wife. Her avatar pulses with a repeating animation. It looks cool and seems to work just fine on its own. This is a component that lives in its own SwiftUI file. When...
View Article