Open N1cholas opened 4 years ago
Scenario: Moving down 100 while zooming 2 times
Result: Moving distance less than 100
handleAnimate = ({ progress }) => { const scaleInterpolation = progress.interpolate({ inputRange: [0, 1], outputRange: [1, 2], }) const translateYInterpolation = progress.interpolate({ inputRange: [0, 1], outputRange: [0, 100], }) return { transform: [{ translateY: translateYInterpolation }, { scale: scaleInterpolation }], } }
Scenario: Moving down 100 while zooming 2 times
Result: Moving distance less than 100