[BUG] Masonry items jump or overlap when scrolling quickly

Author: fhyfhyfhyCreated Mar 13, 2026Updated Apr 22, 2026
Labelsbug

Describe the bug

When using the Masonry component, items occasionally render in incorrect positions during fast scrolling. While scrolling quickly, some items briefly overlap or jump to incorrect columns before being repositioned. This creates visible layout glitches and makes the UI feel unstable.

Reproduction

A minimal reproduction can be created directly from the Masonry Quickstart on the documentation homepage. Using the Quickstart example with items of varying heights, the issue can be reproduced by scrolling quickly through the list, which causes layout glitches to appear.

Screenshots

https://github.com/user-attachments/assets/90452986-2f11-45cf-a0c6-37865cad992b

Desktop

  • OS: macOS
  • Browser: Chrome 145.0.7632.160