Infinity
Infinity
KPCKevin Powell - Community
Created by Infinity on 2/25/2024 in #front-end
Disabling CSS Animations on Lower End Devices (Is this a good idea?)
Hi! I have a general design question on whether disabling css animations on devices with poor performance is a good pattern to follow or would be considered a bandaid fix to underlying performance issues. I'll provide an example scenario with using Interaction Observer and a blur + translate animation to animate elements appearing on user scroll in the thread. That is one scenario I'm running into where it lags on slower devices (for instance even my M1 macbook when on low battery) so I'm wondering if there's a reliable way to get a performance measure and disable the animation based on this.
5 replies