Scroll Restoration

Maintain scroll position when prepending items
Demonstrates the restoreScrollOnPrepend prop. Currently showing 50 items. When items are added to the beginning of the list, the scroll position is adjusted to keep the current view stable.
#0Original Item 0
#1Original Item 1
#2Original Item 2
#3Original Item 3
#4Original Item 4
  • Scroll Status
  • Direction
    vertical
  • Current Item #
    -
  • Rendered Range #
    0:0
  • Total Size (px)
    0h
  • Viewport Size (px)
    0h
  • Scroll Offset (px)
    0y