You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title suggest, I want to know if there is a way I can implement reduceMotion: ReduceMotion.Never (with react-native-reanimated), on the scrolling animation? I've come to the understanding that many people unknowningly have "reduced motion" enabled on their phones, thereby causing the carousel-scroll-animation not to work. In past updates of react-native-reanimated, the reduced motion settings was ignored and the animations ran anyway, although with the later updates, this is no longer the case sadly. I've solved this on other of my own animations by implementing on all reanimated-animations for example:
animations[index].value = withSpring(displayValue / 10, {
damping: 100,
stiffness: 2000,
mass: 2,
reduceMotion: ReduceMotion.Never, // Se till att animationen alltid körs
});
My question is how can I do this on the carousel with parralax-mode so the scrolling animation always works, even when people have reducedMotion enabled? The code is quite large so I don't seem to find where I can implement this. Thank!
The text was updated successfully, but these errors were encountered:
As the title suggest, I want to know if there is a way I can implement reduceMotion: ReduceMotion.Never (with react-native-reanimated), on the scrolling animation? I've come to the understanding that many people unknowningly have "reduced motion" enabled on their phones, thereby causing the carousel-scroll-animation not to work. In past updates of react-native-reanimated, the reduced motion settings was ignored and the animations ran anyway, although with the later updates, this is no longer the case sadly. I've solved this on other of my own animations by implementing on all reanimated-animations for example:
animations[index].value = withSpring(displayValue / 10, {
damping: 100,
stiffness: 2000,
mass: 2,
reduceMotion: ReduceMotion.Never, // Se till att animationen alltid körs
});
My question is how can I do this on the carousel with parralax-mode so the scrolling animation always works, even when people have reducedMotion enabled? The code is quite large so I don't seem to find where I can implement this. Thank!
The text was updated successfully, but these errors were encountered: