Skip to content
Discussion options

You must be logged in to vote

It looks like you're using the wrong interpolate syntax (v1). interpolate in v2 would look like this:

interpolate(scrollOffset.value, [(-MAX_HEADER_HEIGHT+scrollOffset.value), 0], [MAX_HEADER_HEIGHT, MIN_HEADER_HEIGHT], Extrapolate.CLAMP)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@mikeymop
Comment options

@daxaxelrod
Comment options

Answer selected by mikeymop
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants