@dataloop-ai/components 0.19.55 → 0.19.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1750,7 +1750,14 @@ export default defineComponent({
|
|
|
1750
1750
|
}
|
|
1751
1751
|
}
|
|
1752
1752
|
|
|
1753
|
+
const prevScroll = ref<DlVirtualScrollEvent>(null)
|
|
1754
|
+
|
|
1753
1755
|
function onVScroll(info: DlVirtualScrollEvent) {
|
|
1756
|
+
if (isEqual(prevScroll.value, info)) {
|
|
1757
|
+
return
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
prevScroll.value = info
|
|
1754
1761
|
emit('virtual-scroll', info)
|
|
1755
1762
|
}
|
|
1756
1763
|
|