Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Animations not GPU-composited: fix low frame rate and jank

PRF-049Low impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

Browsers draw a page in stages: style, layout, paint, then compositing, where layers are combined on screen. Compositing is done by the GPU (the graphics chip). Changing transform or opacity can skip layout and paint and run only at the compositing stage.

Properties like width, height, top, left, margin, padding or box-shadow do not get that shortcut. Animating them makes the main thread redo work 60 times a second. Chrome DevTools and Lighthouse call these non-composited animations.

Why it costs you leads or sales

Main-thread animation work delays everything else the page must do, including responding to a tap on your call-to-action. Stuttering motion also makes a page feel cheap or broken, which lowers trust at the moment someone decides whether to fill in a form.

Layout-based animations can also move other elements each frame, which may shift content under a user's finger and cause mis-taps.

Same slide-in, two ways to build it

Not composited

  • Animates `left` or `margin-left`
  • Layout and paint rerun every frame
  • Drops frames on mid-range phones
  • Competes with taps and scripts

GPU-composited

  • Animates `transform: translateX()`
  • Only compositing runs per frame
  • Stays smooth under load
  • Main thread stays free for input

How to check if your site has it

Find non-composited animations
  1. Run Lighthouse

    In Chrome DevTools open the Lighthouse tab, run a Performance audit and look for the diagnostic 'Avoid non-composited animations'. It lists the elements and the properties animated.

  2. Record a trace

    Open the Performance tab, press record, trigger the animation, then stop. Look for red frame markers and long 'Recalculate Style', 'Layout' or 'Paint' blocks during the motion.

  3. Turn on paint flashing

    Open the Rendering panel (Command menu, type 'Rendering') and tick 'Paint flashing'. Green flashes across the animated area on every frame mean it is repainting.

  4. Test with CPU throttling

    In the Performance tab set CPU to 4x or 6x slowdown and replay the animation. Problems that hide on a fast laptop show up here.

  5. Check the Animations panel

    Open the Animations panel to see which CSS properties each animation changes. Anything other than transform or opacity is a candidate.

How to fix it

The rule is simple: move things with transform: translate(), resize with transform: scale(), and fade with opacity. Here is a typical before and after.

Slow: animates layout propertycss
.banner {
  position: fixed;
  left: -300px;
  transition: left 0.3s ease;
}
.banner.open {
  left: 0;
}
Fast: animates transformcss
.banner {
  position: fixed;
  left: 0;
  transform: translateX(-300px);
  transition: transform 0.3s ease;
}
.banner.open {
  transform: translateX(0);
}
Where to change it on your platform
  1. Find the offending rule

    Search your CSS for transition and @keyframes rules that list width, height, top, left, right, bottom or margin.

  2. Rewrite with transform and opacity

    Use translate for movement and scale for size changes. Keep the element's layout position fixed.

  3. Add will-change sparingly

    For a heavy animation, add will-change: transform just before it starts and remove it after. Do not put it on many elements, as each one uses memory.

How to confirm it's fixed

Verification checklist
  • Lighthouse no longer lists 'Avoid non-composited animations' for the page
  • Performance trace shows no long Layout or Paint blocks during the animation
  • Paint flashing no longer lights up the animated area every frame
  • Animation looks smooth with 4x CPU throttling
  • Tested on a real mid-range phone, not only a desktop
  • Nearby content does not shift while the animation runs

How to prevent it happening again

Habits that keep animations smooth
  • Agree a team rule: animate only transform and opacity
  • Review new sliders, popups, sticky bars and page-builder effects in DevTools before launch
  • Run Lighthouse after theme, plugin or builder updates
  • Limit will-change to elements that truly need it
  • Keep decorative motion minimal on pages with forms and checkouts
Which CSS properties are safe to animate
PropertyCost per frameUse for animation?
transform (translate, scale, rotate)Compositing onlyYes
opacityCompositing onlyYes
color, background-colorPaintSparingly
box-shadowPaintAvoid on large areas
width, height, margin, paddingLayout and paintAvoid
top, left, right, bottomLayout and paintAvoid

How FunnelGuard handles this

This is outside what FunnelGuard checks. FunnelGuard runs your real customer journeys on a schedule and checks steps, tracking hits and lead delivery, but it does not measure frame rate or analyse how animations are rendered.

The kind of tool that fits is a browser performance profiler or a lab performance audit: Chrome DevTools (Performance and Rendering panels) and Lighthouse for diagnosis, plus real-user monitoring if you want to see how animations and interaction delay behave on your visitors' devices.

Questions people ask

What does 'non-composited animation' mean?

It means an animation changes a property, such as width, top or margin, that forces the browser to recalculate layout or repaint on the main thread. Composited animations only change transform or opacity, which the GPU can handle separately and smoothly.

Why is my CSS animation laggy on mobile?

Most likely it animates layout properties like left, height or margin, which need main-thread work every frame. Phones have slower processors than laptops, so frames drop. Switch to transform and opacity and test with CPU throttling.

How do I find which animations are not GPU-accelerated?

Run a Lighthouse performance audit in Chrome DevTools and open 'Avoid non-composited animations'. You can also record a Performance trace or enable Paint flashing in the Rendering panel to see repainting during motion.

Is will-change: transform a good fix?

It can help by promoting an element to its own layer, but it is not a cure for animating layout properties. Use it sparingly on the few elements that animate, because every extra layer uses memory.

Which CSS properties can the GPU animate?

In practice, transform and opacity are the safe ones in all major browsers. Some others, like filter, can be composited in certain cases, but rely on transform and opacity for predictable results.

Do non-composited animations hurt SEO or conversions?

The direct impact is usually small. Indirectly they can make a page feel slow and compete with taps for main-thread time, which can hurt interaction responsiveness on weaker phones.

Can FunnelGuard detect janky animations?

No. FunnelGuard checks funnel steps, tracking hits and lead delivery, not frame rate. Use Chrome DevTools, Lighthouse or real-user monitoring for animation performance.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.