will-change on a property it can't help
Why it matters
will-change only promotes transform, opacity, filter and clip-path; all or layout properties waste GPU memory.
Fix
will-change: transform (or remove it).
References
- will-changeMDN Web Docs
- Stick to compositor-only properties and manage layer countweb.dev
- Why are some animations slow?web.dev