Releases: Akryum/vue-virtual-scroller
Releases · Akryum/vue-virtual-scroller
v0.10.4
New
- New 'visible' event emitted when the scroller becomes visible
- The behavior introduced in 0.10.2 (defer removing previous items) is now disabled by default and enabled with the
delay-previous-items
boolean prop.
v0.10.2
New
- A 'resize' event is emitted when the virtual-scroller size changes
- New refs:
vm.$refs.itemContainer
and vm.$refs.items
for the container elements.
Improved
buffer
is now applied around the pool.
- Some unnecessary updates are now skipped.
- The previous items are removed the next frame. This fixes nasty issues when dealing with items that change their height multiple times or contain horrible things like iframes.
- The first update is now skipped if the scroller has been rendered on the server.
- Source code: Some syntax and code style changes.
v0.10.1
Breaking changes
- buffer and poolSize are now in pixels and work for both fixed and variable heights modes.
New
emitUpdate
boolean prop to enable the new update
event when the rendered item list changes.
Improved
- Now built using rollup instead of webpack.
- Distribution files availables: browser, UMD and ES Module.
v0.9.0: Removed module index.js
Breaking changes
- The CSS file should now imported manually when using a bundler.
v0.8.1
New
- SSR support
- New
prerender
prop (doc)
Fixes
- Default import for bundlers that supports modules
- Handle window resizing in page mode
- Some initialization issues
v0.7.7
Fixed
- Vue 2.4.x warning about keys
- Fix invisible elements PR #28 (thx @akernet)
v0.7.5
Fixed
- Better reactivity when item height changes.
- Fix negative start index in static height mode.
- Other fixes
v0.7.1
Fixed
- Fixed
scrollToItem
in variable height mode.
v0.7.0
New
- Variable height mode (doc)
Improved
- Updated to vue-resize@0.1.3 for fixes and better IE support
v0.5.1
- New page mode.
- Performance improvements thanks to smarter vue
key
attribute usage
- Scoped slots gets a new
itemKey
prop that should be used as the key
for the item elements.