clamp transform in growablebanner

This commit is contained in:
Samuel Newman
2025-12-31 13:15:34 +02:00
parent c7c04e0a7c
commit 46b39d2051
@@ -115,7 +115,11 @@ function GrowableBannerInner({
Extrapolation.CLAMP, Extrapolation.CLAMP,
), ),
transform: [ transform: [
{translateY: interpolate(scrollYValue, [-150, 0], [-75, 0])}, {
translateY: interpolate(scrollYValue, [-150, 0], [-75, 0], {
extrapolateRight: Extrapolation.CLAMP,
}),
},
{rotate: '90deg'}, {rotate: '90deg'},
], ],
} }