Skip to content

AR Virtual Scroll v0.0.8

Latest

Choose a tag to compare

@artomenwork artomenwork released this 16 Nov 17:57
· 1 commit to main since this release

🚀 AR Virtual Scroll v0.0.8
Changes in this release
🔧 Fixes

Fixed item deletion logic
Resolved an issue where deleting items could cause incorrect list updates and inconsistent height calculations.

✨ New Features

scrollToBottomForce() method
Added a new public method that instantly scrolls the list to the very bottom.
Ideal for chats, message feeds, and real-time updates.

Scroll event subscription
Users can now subscribe to scroll events via VirtualScrollAdapter.
This enables:

tracking scroll direction

reading current scroll position

building custom UX features (e.g., “scroll to bottom” buttons, unread message indicators, etc.)

🆕 Enhancements

New default item insertion method: fallback
Introduced a new item insertion strategy that is now used by default.
It provides more stable item addition behavior and reduces layout jumps.

Stable scroll position on viewport resize
The scroll position no longer jumps when the viewport size changes
(e.g., window resize, container size changes).
The list now preserves the user’s position and stays visually stable.