diff --git a/secant/UI Components/Drawer/Drawer.swift b/secant/UI Components/Drawer/Drawer.swift index db339663..dc3a510d 100644 --- a/secant/UI Components/Drawer/Drawer.swift +++ b/secant/UI Components/Drawer/Drawer.swift @@ -56,7 +56,7 @@ struct Drawer: View { .cornerRadius(16.0) .frame(height: proxy.size.height, alignment: .bottom) .offset(y: max(offset + translation, 0)) - .animation(.interactiveSpring()) + .animation(.interactiveSpring(), value: translation) .gesture( DragGesture().updating($translation) { value, state, _ in state = value.translation.height diff --git a/secant/UI Components/ProgressIndicators/OnboardingProgressIndicator.swift b/secant/UI Components/ProgressIndicators/OnboardingProgressIndicator.swift index 5e808318..8f2fd271 100644 --- a/secant/UI Components/ProgressIndicators/OnboardingProgressIndicator.swift +++ b/secant/UI Components/ProgressIndicators/OnboardingProgressIndicator.swift @@ -52,7 +52,7 @@ struct OnboardingProgressStyle: ProgressViewStyle { } } .frame(height: height) - // FIXME: .animation(.easeInOut) breaks the Onboarding UI when onAppear, fallback to .linear for now + .animation(.easeInOut, value: fractionCompleted) } } }