@sheinx/base 3.8.10-beta.7 → 3.8.10-beta.8

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.
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["list.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AASxC,QAAA,MAAM,IAAI,+GAiQT,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["list.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AASxC,QAAA,MAAM,IAAI,+GAkQT,CAAC;AAEF,eAAe,IAAI,CAAC"}
package/cjs/list/list.js CHANGED
@@ -225,7 +225,8 @@ var List = function List(props) {
225
225
  minWidth: 0,
226
226
  overflow: 'auto'
227
227
  },
228
- dynamicVirtual: props.dynamicHeight
228
+ dynamicVirtual: props.dynamicHeight,
229
+ keepScrollTop: !!props.scrollLoading
229
230
  }), renderFooter()]
230
231
  });
231
232
  }
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["list.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AASxC,QAAA,MAAM,IAAI,+GAiQT,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["list.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AASxC,QAAA,MAAM,IAAI,+GAkQT,CAAC;AAEF,eAAe,IAAI,CAAC"}
package/esm/list/list.js CHANGED
@@ -219,7 +219,8 @@ var List = function List(props) {
219
219
  minWidth: 0,
220
220
  overflow: 'auto'
221
221
  },
222
- dynamicVirtual: props.dynamicHeight
222
+ dynamicVirtual: props.dynamicHeight,
223
+ keepScrollTop: !!props.scrollLoading
223
224
  }), renderFooter()]
224
225
  });
225
226
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/base",
3
- "version": "3.8.10-beta.7",
3
+ "version": "3.8.10-beta.8",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "module": "./esm/index.js",
11
11
  "typings": "./cjs/index.d.ts",
12
12
  "dependencies": {
13
- "@sheinx/hooks": "3.8.10-beta.7",
13
+ "@sheinx/hooks": "3.8.10-beta.8",
14
14
  "immer": "^10.0.0",
15
15
  "classnames": "^2.0.0",
16
16
  "@shined/reactive": "^0.1.3-alpha.0"