# The layout moves while the page is loading

Rule `PERF_LAYOUT_001` · Performance · medium severity · medium effort
By Leakly · Published 2026-09-25 · Updated 2026-09-27 · https://leakly.ai/library/PERF_LAYOUT_001

## The problem

Cumulative layout shift is high enough that content jumps under the visitor's cursor.

Shifting layouts cause mistaken clicks and make a page feel unfinished. When the conversion control moves, the mistap lands somewhere else entirely.

## How Leakly detects it

- **deterministic**: A structural fact counted in the rendered page, or a measurement against a threshold.

## What counts as proof

- A measured number, with its unit and the threshold it crosses.

Without this evidence the candidate is dropped before it reaches a report — never softened into advice.

## How to fix it

Stop the layout moving during load.

1. Reserve space for images, embeds and injected banners before they arrive.
2. Load fonts with a metric-compatible fallback so text does not reflow.

---

Source: https://leakly.ai/library/PERF_LAYOUT_001
