You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Animations can be a great ux improvement but not if they are janky.
We have prefers-reduced-motion so the user can choose to disable animations, for whatever reasons they might have.
What about having an api to detect low performing animations?
With this api the app developer could ask the user if they want to enable prefers-reduced-motion or disable or decrease the amount of animations accordingly.
Another option might be that the browser detects alot of dropped frames and asks if the user wants to enable prefers reduced motion?
Not sure how to define that the performance is "low". 🤔 Maybe amount of dropped frames during transitions, animation frames etc. over a certain threshold/time period? Maybe the threshold logic can be set by the developer.
The text was updated successfully, but these errors were encountered:
Hi @emattias. I'm afraid this is the (mostly unmaintained) repository for a polyfill of a now-shipping API.
I think your suggestion might be something to propose to the Web Performance Working Group. I'm not sure how best to propose things to them however. Perhaps one of the following channels:
Animations can be a great ux improvement but not if they are janky.
We have prefers-reduced-motion so the user can choose to disable animations, for whatever reasons they might have.
What about having an api to detect low performing animations?
With this api the app developer could ask the user if they want to enable
prefers-reduced-motion
or disable or decrease the amount of animations accordingly.Another option might be that the browser detects alot of dropped frames and asks if the user wants to enable prefers reduced motion?
Not sure how to define that the performance is "low". 🤔 Maybe amount of dropped frames during transitions, animation frames etc. over a certain threshold/time period? Maybe the threshold logic can be set by the developer.
The text was updated successfully, but these errors were encountered: