Skip to content

@tanstack/virtual-core@3.19.14

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 11:52
Immutable release. Only release title and notes can be modified.
facd112

Patch Changes

  • #1403 38ca5d9 - Use the current layout when deciding whether an item resize should adjust the scroll position after layout options change.

  • #1400 d40d8c8 - Fix wheel scrolling in WebKit dropping wheel events, or the reader's place, when rows are measured or prepended on the way. Scroll corrections are now held for 150ms after a wheel event and written when the wheel rests, or when the element reaches the top of the list. A write at the top of the list can still cost a wheel event or two.

  • #1395 4f32cb3 - Pass the virtualizer to initialOffset when it is a function. The Lit and Svelte window virtualizers use it to read the current horizontal option, so a list whose axis changed while enabled: false starts from the correct window scroll position when it is enabled again. The Marko tags accept the same callback type.