Skip to content

Commit 92593f3

Browse files
committed
Fix force parameter
1 parent 73b1f19 commit 92593f3

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

dist/vue-virtual-scroller.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.

docs/build.js

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/build.js.map

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

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.7.5",
4+
"version": "0.7.6",
55
"author": {
66
"name": "Guillaume Chau",
77
"email": "[email protected]"

src/components/VirtualScroller.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<component :is="mainTag" class="virtual-scroller" :class="cssClass" @scroll="updateVisibleItems" v-observe-visibility="handleVisibilityChange">
2+
<component :is="mainTag" class="virtual-scroller" :class="cssClass" @scroll="() => updateVisibleItems()" v-observe-visibility="handleVisibilityChange">
33
<slot name="before-container"></slot>
44
<component :is="containerTag" class="item-container" :class="containerClass" :style="itemContainerStyle">
55
<slot name="before-content"></slot>
@@ -14,7 +14,7 @@
1414
<slot name="after-content"></slot>
1515
</component>
1616
<slot name="after-container"></slot>
17-
<resize-observer @notify="updateVisibleItems" />
17+
<resize-observer @notify="() => updateVisibleItems()" />
1818
</component>
1919
</template>
2020

0 commit comments

Comments
 (0)