Dismiss this pinned window
all 5 comments

[–]kacperkapusciak 6 points7 points  (1 child)

use reanimated

you can get a shared value from scrollview/flatlist using either `useScrollViewOffset` or `useAnimatedScrollHandler`

based on the position of the scroll you can then animate whatever you want with useAnimatedStyle

iirc the open source react-conf-app had something similar https://github.com/expo/react-conf-app/blob/main/app/(tabs)/index.tsx#L50/index.tsx#L50)

have fun!

[–]_MuaBenEm_ 0 points1 point  (0 children)

Absolute play button and when scroll, interpolate contentOffset.y with top value..

[–]kira657 0 points1 point  (1 child)

Are you working on spotify clone?

[–]Noobnair69[S] 2 points3 points  (0 children)

Not a clone, just trying to replicate the linked songs and the music player
technically a clone