[BUG] animate()
automatically disables all transform & layout animations when device has "reduced motion" preference
#2771
Labels
bug
Something isn't working
1. Read the FAQs 👇
✅
2. Describe the bug
When the user’s device has reduced motion enabled, animations using the “animate()” function default to not animating properties related to movement at all, and the following message appears in the console:
You have Reduced Motion enabled on your device. Animations may not appear as expected. warnOnce @ warn-once.mjs:9
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
https://codesandbox.io/p/sandbox/bitter-meadow-8f8hrv
4. Steps to reproduce
5. Expected behavior
It should be up to the developer which animations to turn off if reduced motion is detected. There’s even examples in the framer-motion documentation on how to do that.
6. Video or screenshots
N/A
7. Environment details
Enable reduced motion according to your system
The text was updated successfully, but these errors were encountered: