Skip to content

Commit 256d365

Browse files
committed
Version bump
1 parent 2f7679f commit 256d365

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

dist/vue-virtual-scroller.esm.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ var VirtualScroller = { render: function render() {
494494
h = heights[i].accumulator;
495495
if (h < scrollTop) {
496496
a = i;
497-
} else if (i < l && heights[i + 1].accumulator > scrollTop) {
497+
} else if (i < l - 1 && heights[i + 1].accumulator > scrollTop) {
498498
b = i;
499499
}
500500
i = ~~((a + b) / 2);
@@ -781,7 +781,7 @@ var RecycleList = { render: function render() {
781781
h = heights[i].accumulator;
782782
if (h < scroll.top) {
783783
a = i;
784-
} else if (i < count && heights[i + 1].accumulator > scroll.top) {
784+
} else if (i < count - 1 && heights[i + 1].accumulator > scroll.top) {
785785
b = i;
786786
}
787787
i = ~~((a + b) / 2);
@@ -927,7 +927,7 @@ function registerComponents(Vue, prefix) {
927927

928928
var plugin$4 = {
929929
// eslint-disable-next-line no-undef
930-
version: "0.11.2",
930+
version: "0.11.3",
931931
install: function install(Vue, options) {
932932
var finalOptions = Object.assign({}, {
933933
installComponents: true,

0 commit comments

Comments
 (0)