I'm trying to do a parallax scroll header animation on the web. But it is not working. Works fine on Android & iOS
Animated.Scrollview componentonScroll attribute with event from reanimatedThe following animated scroll header works on Android & iOS but doesn't work on the web
https://snack.expo.io/@daniakash/reanimated-scroll-event-web-issue
ditto here. maybe @EvanBacon might know about this?
It's just not implemented for web.
Here is why:
I recreated @DaniAkash's example with the vanilla Animated on Snack, and that works fine.
https://snack.expo.io/@nandorojo/reanimated-scroll-event-web-issue
Using reanimated would be preferred, of course.
I recreated @DaniAkash's example with the vanilla
Animatedon Snack, and that works fine.https://snack.expo.io/@nandorojo/reanimated-scroll-event-web-issue
Using reanimated would be preferred, of course.
I am currently using the vanilla Animated component as the workaround...
iirc the noop is fine. Possibly related to this https://github.com/software-mansion/react-native-reanimated/issues/1071