Skip to content

List with CellMeasurer for NextImage cellRender get jump when scroll up #1874

@Eferinte

Description

@Eferinte

Bug Report

When I use CellMeasurer to build a dynamic image list, use Next/Image in cellRender may cause unexpected scroll jump when scroll up, but the native <img> element won't.
https://codesandbox.io/p/devbox/next-rvl-w693nh

What is the current behavior?

Scroll the list to bottom, then scroll up , the list may have a unexpected jump.

2025-03-13.17.38.37.mov

What is the expected behavior?

Should behavior like list use native <img>.

Which versions of React and react-virtualized, and which browser / OS are affected by this issue? Did this work in previous versions of react-virtualized?

Browser
OS
React ^19
React DOM ^19
react-virtualized 9.22.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions