Skip to content

A more granular control over handling of prefers-reduced-motion #8743

Closed
@mourner

Description

@mourner

Motivation

There's quite a bit of confusion over GL JS handling of prefers-reduced-motion OS option (see #8288 and #8494 for background). Examples: #8716, #8648

Design

From #8494 (comment) by @andrewharvey:

could be we expose some kind of option so the app developer can say if this transition is considered essential or not?

We could add {essential: true} to animation options (false by default) that makes it animate regardless of prefers-reduced-motion. That would allow developers to fully control the experience, marking animations as essential where necessary. cc @arindam1993

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions