Closed tomicilija closed 11 months ago
Managed to reproduce the problem - but honestly - no idea. As you pointed out, the elements are there, but the browser has decided not to render them.
In the distant past, the translate3d hack solved such "missing" items, but I'm not sure what's the up-to-date solution. Notice that, in general, reverse scrolling on iOS with uneven items is not a solved problem in Virtuoso, because mobile Safari ignores scrollBy compensation calls that are necessary when items with unexpected height are measured.
If you find a solution, let me know.
I managed to solve this problem in the Virtuoso Message List.
Describe the bug Fetching new items (scrolling to top) does not display them. Instead it displays empty scroller. When you do another scroll items appear. This issue appears only on latest iOS17, other versions work just fine.
Reproduction Basic infinite scroll https://codesandbox.io/s/blue-leaf-3k6j89?file=/App.js
To Reproduce Steps to reproduce the behavior:
Expected behavior Same as on the older iOS versions.
Screenshots
https://github.com/petyosi/react-virtuoso/assets/22974372/348bcb49-f52a-472a-a787-9625d0e7d1e8