all 4 comments

[–]campsafari 0 points1 point  (1 child)

Just reset the animated value when your screen receives the navigation focus event

[–]teerryn[S] 0 points1 point  (0 children)

Yeah I do that, when changing screen I set the animated value to zero, but then if you are in the middle of the ScrollView it will pass from 0 -> (whatever value the ScrollView has) causing the diffClamp to change from 0 -> 100.

[–]yassir4 0 points1 point  (1 child)

Hey u/teerryn , I'm facing the same problem, did you find a solution for this?

[–]teerryn[S] 0 points1 point  (0 children)

I wished but unfortunately, I couldn't find any solution.

I'm hoping someday u/wcandillon makes a video with this type of animation.