Restore original stiffness and damping and modify mass instead

This commit is contained in:
Tomek Zawadzki
2026-07-14 09:08:18 +02:00
committed by Oleksii Bulenok
parent 5f49821886
commit e10bb60ae7
+3 -2
View File
@@ -605,8 +605,9 @@ function LightboxImage({
dismissSwipeTranslateY.set(() => { dismissSwipeTranslateY.set(() => {
'worklet' 'worklet'
return withSpring(0, { return withSpring(0, {
stiffness: 2800, stiffness: 700,
damping: 200, damping: 50,
mass: 1,
reduceMotion: ReduceMotion.Never, reduceMotion: ReduceMotion.Never,
}) })
}) })