Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[For Consideration] - Prefers reduced motion fallback #7

Open
AliT3 opened this issue Jan 23, 2024 · 1 comment
Open

[For Consideration] - Prefers reduced motion fallback #7

AliT3 opened this issue Jan 23, 2024 · 1 comment

Comments

@AliT3
Copy link
Member

AliT3 commented Jan 23, 2024

Description:

If a Lottie animation includes a marker named "reduced motion" (or "reducedMotion", "reduced_motion", etc) and UIAccessibility.isReduceMotionEnabled is true, that marker will be be played instead of any other animation that was configured.

Current support:

@AliT3 AliT3 changed the title [For Consideration] - Prefers reduction motion fallback [For Consideration] - Prefers reduced motion fallback Jan 23, 2024
@mbasaglia
Copy link
Member

Should this also be used for like previewing lotties as static images?

btw I'd rather have a singular (case-sensitive) value than multiple options for the special name for ease of implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants