vue-virtual-scroller v2.0.0-beta.1 Release Notes

Release Date: 2022-10-15 // over 1 year ago
  • 🐛 Bug Fixes

    • Account for the height of the leading and trailing slots when calculating visible items, fix #685 (24ab3ba)
    • avoid jumping scroll position when upper item size is calculated (#374) (fd58a95)
    • clamp endIndex if less items than prerender (#473) (f9124aa)
    • DynamicScroller should pass its own keyField prop to child RecycleScroller (#732) (9673679)
    • DynamicScrollerItem: watch item prop (#700) (4d3b956)
    • issue with beforeDestroy hook (#748) (59f3f1b)
    • 🔀 merge (c8363b1)
    • ⏪ restore scroll in keep-alive (#724) (5011e06)
    • scrollToItem works with pageMode (#396) (c9772bf)
    • wrap the callback in requestAnimationFrame, fix #516 (#517) (6f359ab)

    🔋 Features

    • ➕ add an empty slot (#398) (5c2715c)
    • ➕ add skipHover prop to deactive the hover detection (#752) (b613318)
    • ➕ adds configurable list/item tags for semantic html (#203) (3d24dc3)
    • custom classes for list wrapper and list items. (#397) (32b285d)
    • Emit events for scroll to begin and end of list (#364) (2a7bfd4)
    • gridItems prop (#27) (6339e72)
    • itemSecondarySize (43d311c)
    • throw error when key field does not exist in item (#265) (c63129f)
    • ⚡️ update event provide range of the visible items (#115) (f19af6c)

    🐎 Performance Improvements

    • skipHover: don't add event listeners (6b623b5)