Minor Changes
- #1300
43675bc- feat(virtual-core): addcancelScroll()to stop an in-flightscrollToIndex/scrollToOffset/scrollBy/scrollToEndfrom correcting toward its target, so a user gesture can take over the viewport (#1285)
Patch Changes
-
#1276
9df47a3- FixscrollToIndex(last, { align: 'end' })overshooting the last item bypaddingEnd; it now respectsscrollPaddingEndlike other end-aligned items. To scroll to the very bottom includingpaddingEnd, usescrollToEnd(). -
#1293
c644f10- fix(virtual-core): don't cache a 0 size whenmeasureElementreceives a node that isn't attached to the document yet -
#1294
2a631f4- Keep scrollToIndex reconciliation active until pending ResizeObserver measurements can update its target, including when useAnimationFrameWithResizeObserver is enabled. Respect an external scroll away from a reached target during this settling period.