[BUG] Using alignToBottom with firstItemIndex flickers
Author: vpzomtrrfrtCreated Feb 9, 2026Updated Feb 9, 2026
Labelsbug
Describe the bug
When using alignToBottom alongside firstItemIndex to prepend items, the list flickers when adding new items
Reproduction
https://codesandbox.io/p/sandbox/wplw6r
To Reproduce
Steps to reproduce the behavior:
- Go to https://codesandbox.io/p/sandbox/wplw6r
- Click on Add Item
- The list briefly moves to the top of the area
Expected behavior
The newly added item should appear without the rest of the list moving
Screenshots
Desktop (please complete the following information):
- OS: Linux
- Browser: Firefox 140.7.0esr
Source: petyosi/react-virtuoso