diff --git a/DemoAppSwiftUI/AppleMessageComposerView.swift b/DemoAppSwiftUI/AppleMessageComposerView.swift index 3f859952..d49f842d 100644 --- a/DemoAppSwiftUI/AppleMessageComposerView.swift +++ b/DemoAppSwiftUI/AppleMessageComposerView.swift @@ -60,7 +60,7 @@ struct AppleMessageComposerView: View, KeyboardReadable { VStack(spacing: 0) { HStack(alignment: .bottom) { Button { - withAnimation(.bouncy) { + withAnimation(.interpolatingSpring(stiffness: 170, damping: 25)) { switch state { case .initial: listScale = 1 @@ -285,7 +285,7 @@ struct ComposerActionsView: View { } .edgesIgnoringSafeArea(.all) .onTapGesture { - withAnimation(.bouncy) { + withAnimation(.interpolatingSpring(stiffness: 170, damping: 25)) { switch state { case .initial: listScale = 1