feat(mobile): spped up some animations
This commit is contained in:
parent
db0d36ef2a
commit
bf1f34fdb0
|
|
@ -48,12 +48,12 @@ export const AISummary: FC<{
|
|||
const measureContent = (event: LayoutChangeEvent) => {
|
||||
setContentHeight(event.nativeEvent.layout.height + 10)
|
||||
height.value = withSpring(event.nativeEvent.layout.height + 10, {
|
||||
damping: 20,
|
||||
dampingRatio: 2,
|
||||
stiffness: 90,
|
||||
mass: 1,
|
||||
overshootClamping: true,
|
||||
restDisplacementThreshold: 0.01,
|
||||
restSpeedThreshold: 0.01,
|
||||
duration: 200,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue