petyosi / react-virtuoso

The most powerful virtual list component for React
https://virtuoso.dev
MIT License
5.13k stars 299 forks source link

[BUG] element disappearing when reverse scrolling in the ios #1094

Closed ros008 closed 2 months ago

ros008 commented 3 months ago

Describe the bug There is an issue that the element disappears when reverse scrolling in the ios. When you scroll up and down again, the element appears. I only have an issue with ios, and android works fine. It happens with both safari and chrome. (It doesn't happen on desktop.) I'm attaching the video.

Reproduction CodeSandbox

To Reproduce Steps to reproduce the behavior:

  1. scroll to top
  2. It happens after a few attempts.

Screenshots

https://github.com/petyosi/react-virtuoso/assets/19823020/ae2c5236-222e-453f-ace1-16cd1885aa7a

Mobile:

leeyuchang commented 3 months ago

I have the same problem as well.

petyosi commented 2 months ago

This is an inherent problem of the current virtuoso implementation. It is solved in the MessageList - give it a try.

ros008 commented 2 months ago

So the issue won't be solved forever in Virtuoso?

petyosi commented 2 months ago

So the issue won't be solved forever in Virtuoso?

It is solved in Virtuoso - in the MessageList component.