SwiftUI – phaseAnimator: prevent opacity change?
I’m trying to get a view to move laterally, and when it has reached the end of that animation, snap (i.e. without animation) back to the starting position (seemingly instantly). At the same time it snaps back, the view should display something different (in this example that is just text).
That last part disrupts what seemed to be a straightforward application of phaseAnimator.