Skip to content

Commit af52dfa

Browse files
author
Guillaume Chau
committed
Version bump
1 parent 360fab0 commit af52dfa

4 files changed

+16
-8
lines changed

dist/vue-virtual-scroller.esm.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,12 @@ var VirtualScroller = { render: function render() {
292292
},
293293

294294
watch: {
295-
heights: function heights() {
296-
this.updateVisibleItems(true);
295+
items: {
296+
handler: function handler() {
297+
this.updateVisibleItems(true);
298+
},
299+
300+
deep: true
297301
},
298302
pageMode: function pageMode() {
299303
this.applyPageMode();
@@ -506,7 +510,7 @@ function registerComponents(Vue, prefix) {
506510

507511
var plugin = {
508512
// eslint-disable-next-line no-undef
509-
version: "0.10.0",
513+
version: "0.10.1",
510514
install: function install(Vue, options) {
511515
var finalOptions = Object.assign({}, {
512516
installComponents: true,

dist/vue-virtual-scroller.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-virtual-scroller.umd.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,12 @@ var VirtualScroller = { render: function render() {
298298
},
299299

300300
watch: {
301-
heights: function heights() {
302-
this.updateVisibleItems(true);
301+
items: {
302+
handler: function handler() {
303+
this.updateVisibleItems(true);
304+
},
305+
306+
deep: true
303307
},
304308
pageMode: function pageMode() {
305309
this.applyPageMode();
@@ -512,7 +516,7 @@ function registerComponents(Vue, prefix) {
512516

513517
var plugin = {
514518
// eslint-disable-next-line no-undef
515-
version: "0.10.0",
519+
version: "0.10.1",
516520
install: function install(Vue, options) {
517521
var finalOptions = Object.assign({}, {
518522
installComponents: true,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-virtual-scroller",
33
"description": "Smooth scrolling for any amount of data",
4-
"version": "0.10.0",
4+
"version": "0.10.1",
55
"author": {
66
"name": "Guillaume Chau",
77
"email": "[email protected]"

0 commit comments

Comments
 (0)