@mixd-id/web-scaffold 0.1.230406058 → 0.1.230406059
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
|
@@ -71,7 +71,7 @@ export default{
|
|
|
71
71
|
},
|
|
72
72
|
|
|
73
73
|
visibleStartIndex(){
|
|
74
|
-
return Math.
|
|
74
|
+
return Math.floor((this.scrollTop < 0 ? 0 : this.scrollTop) / this.itemHeight)
|
|
75
75
|
},
|
|
76
76
|
|
|
77
77
|
visibleItems(){
|
|
@@ -147,7 +147,7 @@ export default{
|
|
|
147
147
|
this.isOnEndScroll = false
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
-
},
|
|
150
|
+
}, 35),
|
|
151
151
|
|
|
152
152
|
passiveScrollSupported() {
|
|
153
153
|
let passiveSupported = false;
|
|
@@ -114,7 +114,7 @@ export default{
|
|
|
114
114
|
computed:{
|
|
115
115
|
|
|
116
116
|
visibleStartIndex(){
|
|
117
|
-
return Math.
|
|
117
|
+
return Math.floor((this.scrollTop < 0 ? 0 : this.scrollTop) / this.itemHeight)
|
|
118
118
|
},
|
|
119
119
|
|
|
120
120
|
sortedItems(){
|
|
@@ -239,7 +239,7 @@ export default{
|
|
|
239
239
|
this.isOnEndScroll = false
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
|
-
},
|
|
242
|
+
}, 35),
|
|
243
243
|
|
|
244
244
|
passiveScrollSupported() {
|
|
245
245
|
let passiveSupported = false;
|
package/src/utils/listpage1.js
CHANGED