Skip to content

Commit 9894563

Browse files
committed
Add zone end valid check if props change. (#26)
1 parent 94d3438 commit 9894563

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@
324324
}
325325

326326
// if points out difference, force update once again.
327-
if (calcStart !== zone.start || this.alter) {
327+
if (calcStart !== zone.start || delta.end !== zone.end || this.alter) {
328328
this.alter = ''
329329
delta.end = zone.end
330330
delta.start = zone.start

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-virtual-scroll-list",
3-
"version": "1.1.7",
3+
"version": "1.1.8",
44
"description": "A vue (2.x) component that support big data and infinite loading by using virtual scroll list.",
55
"main": "index.js",
66
"files": [

0 commit comments

Comments
 (0)