Closed janroures closed 1 month ago
would be nice to be able to customize reanimated animation options.
Thank you 🙏
Hey @janroures I'm not too deep in reduceMotion - would we have to read the reduce motion on the device settings if we'd want to support this within the lib, and apply it to our animations?
Would you be open to create a PR?
Hi @gunnartorfis thanks for your response,
No, what I mean is that it would be nice to be able to assign the Reduced Motion values that reanimated already has built-in as a global or local prop of the toast, and have it modify the options of the withTiming, withSpring animations, etc. of the toast.
Something like
toast.success("Hello, world", { reduceMotion: ReduceMotion.Never }
or
<Toaster theme="dark" toastOptions={{ reduceMotion: ReduceMotion.Never }}/>
this is from reanimated:
Hope I explained myself well!! Thank you
I think you can already do this with ReduceMotionConfig
Didn't know about this. Thank you!!!
Hello, thanks for this amazing lib. I was wondering how to customize the reduced motion setting in reanimated. Animations won't work if we can't set reduceMotion: ReduceMotion.Never