---
title: "Long animation frames block scrolling (smooth/long-frames-during-scroll)"
description: "smooth/long-frames-during-scroll: Long Animation Frames (LoAF) during scroll show script that delays rendering; the attributed script is the culprit."
canonical: https://void-design.vercel.app/rules/smooth/long-frames-during-scroll
lastModified: 2026-09-16
---

# Long animation frames block scrolling

`smooth/long-frames-during-scroll` · severity **warn** · category Smoothness · detected by `void smooth` and `void audit`

## Why it matters

Long Animation Frames (LoAF) during scroll show script that delays rendering; the attributed script is the culprit.

## How to fix it

Move the attributed work out of the scroll path: debounce with requestAnimationFrame, precompute, or yield with scheduler.yield().

## References

- https://developer.chrome.com/docs/web-platform/long-animation-frames

## More smoothness rules

`void smooth` reports 13 rules in this category. How the page feels after it loads: dropped frames during a scripted scroll, long animation frames, INP of real clicks, shifts after input, animated layout properties, idle rAF loops and reduced-motion handling.

- `scroll-jank` Frames are dropped while scrolling — [smooth/scroll-jank](https://void-design.vercel.app/rules/smooth/scroll-jank)
- `scroll-listener-nonpassive` Non-passive wheel/touch listener — [smooth/scroll-listener-nonpassive](https://void-design.vercel.app/rules/smooth/scroll-listener-nonpassive)
- `inp-slow` Interactions are slow to respond (INP) — [smooth/inp-slow](https://void-design.vercel.app/rules/smooth/inp-slow)
- `layout-shift-after-input` Layout shifts long after an interaction — [smooth/layout-shift-after-input](https://void-design.vercel.app/rules/smooth/layout-shift-after-input)
- `layout-shift-on-scroll` Layout shifts while scrolling — [smooth/layout-shift-on-scroll](https://void-design.vercel.app/rules/smooth/layout-shift-on-scroll)
- `animate-layout-property` Animation of a layout-triggering property — [smooth/animate-layout-property](https://void-design.vercel.app/rules/smooth/animate-layout-property)
- `transition-all` transition: all — [smooth/transition-all](https://void-design.vercel.app/rules/smooth/transition-all)
- `will-change-overuse` will-change is applied too broadly — [smooth/will-change-overuse](https://void-design.vercel.app/rules/smooth/will-change-overuse)

Detected by `void smooth` and `void audit`. Explain it in a terminal: `void rules smooth/long-frames-during-scroll`
