SwiftUI animation when nested in a TabView stop working I have a simple SwiftUI view like this, where the animation is performed correctly: