Skip to content

[Feature Request] Allow for Reduce Motion Accessibility #327

Open
@ggedde

Description

@ggedde

Feature Request

CountUp.js version: 2.8.0

Description

When reduce motion is set by the device or browser, it might be good to not have countUp run and instead just show the end result. I think it may be best to just have this as default, but it could make some devs and users upset so adding an option would be best.

Something like:

reduceMotion: true | 'auto' | false (default)
  • true disables animation no matter the device or browser setting
  • auto Looks at the device or browser setting. (Should be the default in next major release)
  • false Keeps animation no matter the device or browser setting, currently this is the default.

Sure we can bypass this by wrapping countUp in a condition using our own code, but it would be really handy to not have to do that each time.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions