stk-table-vue 0.11.4 → 0.11.5

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.
@@ -2309,8 +2309,7 @@ function useVirtualScroll(props, tableContainerRef, trRef, dataSourceCopy, table
2309
2309
  const vsValue = {
2310
2310
  startIndex: 0,
2311
2311
  // github #34 init
2312
- endIndex: dataLength,
2313
- // github #34 init
2312
+ // endIndex: , // FIXME: endIndex may be old value
2314
2313
  offsetTop: 0
2315
2314
  // github #34 init
2316
2315
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stk-table-vue",
3
- "version": "0.11.4",
3
+ "version": "0.11.5",
4
4
  "description": "High performance realtime virtual table for vue3 and vue2.7",
5
5
  "main": "./lib/stk-table-vue.js",
6
6
  "types": "./lib/src/StkTable/index.d.ts",
@@ -274,7 +274,7 @@ export function useVirtualScroll<DT extends Record<string, any>>(
274
274
 
275
275
  const vsValue: any = {
276
276
  startIndex: 0, // github #34 init
277
- endIndex: dataLength, // github #34 init
277
+ // endIndex: , // FIXME: endIndex may be old value
278
278
  offsetTop: 0, // github #34 init
279
279
  };
280
280
  const scrollHeight = dataLength * rowHeight + tableHeaderHeight.value;