petyosi / react-virtuoso

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

[BUG] followOutput stops following if viewport height decreases. #297

Closed petyosi closed 3 years ago

petyosi commented 3 years ago

The implementation does not track the viewport changes - only the addition of new items. Should look into both increase and decrease.

Necessary to check - if the viewport is resized, the list items may be resized as well. The repositioning should be applied after that. The fix applied does not track item resize - only viewport decrease.

chrisdostert commented 3 years ago

would be awesome if the solution to this could also solve https://github.com/petyosi/react-virtuoso/issues/127

github-actions[bot] commented 3 years ago

:tada: This issue has been resolved in version 1.5.7 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

chrisdostert commented 3 years ago

@petyosi just tested and #127 works flawlessly now, amazing work!