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

Make use of the prefers-reduced-motion media query #469

Open
MikeRogers0 opened this issue Jan 10, 2018 · 0 comments
Open

Make use of the prefers-reduced-motion media query #469

MikeRogers0 opened this issue Jan 10, 2018 · 0 comments

Comments

@MikeRogers0
Copy link

MikeRogers0 commented Jan 10, 2018

I opened a similar issue on twbs/bootstrap, I'd be interested to know your thoughts.

Is there any interest in supporting the prefers-reduced-motion media query? It's currently only honoured in Safari (MacOS/iOS), but pretty much, if a user has set in their browser/system preferences they'd like reduce the amount of motion they see, we can know about.

An example implimenation would be replacing browse-columns.js:16 with something more like (thanks @robinwhittleton )

this.animateSpeed = window.matchMedia && window.matchMedia("(prefers-reduced-motion: reduce)") ? 0 : 330;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants