---
title: "Layout shifts while scrolling (smooth/layout-shift-on-scroll)"
description: "smooth/layout-shift-on-scroll: Lazy content that pops in without reserved space shoves the text the reader is looking at."
canonical: https://void-design.vercel.app/rules/smooth/layout-shift-on-scroll
lastModified: 2026-09-16
---

# Layout shifts while scrolling

`smooth/layout-shift-on-scroll` · severity **warn** · category Smoothness · detected by `void smooth` and `void audit`

## Why it matters

Lazy content that pops in without reserved space shoves the text the reader is looking at.

## How to fix it

Give lazy images/embeds dimensions or aspect-ratio and use min-height placeholders for late sections.

## 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.

- `long-frames-during-scroll` Long animation frames block scrolling — [smooth/long-frames-during-scroll](https://void-design.vercel.app/rules/smooth/long-frames-during-scroll)
- `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)
- `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)
- `reduced-motion-ignored` Animations keep running with prefers-reduced-motion — [smooth/reduced-motion-ignored](https://void-design.vercel.app/rules/smooth/reduced-motion-ignored)

Detected by `void smooth` and `void audit`. Explain it in a terminal: `void rules smooth/layout-shift-on-scroll`
