shineout 3.8.2-beta.7 → 3.8.2-beta.9

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/cjs/index.js CHANGED
@@ -522,5 +522,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
522
522
  // 此文件由脚本自动生成,请勿直接修改。
523
523
  // This file was generated automatically by a script. Please do not modify it directly.
524
524
  var _default = exports.default = {
525
- version: '3.8.2-beta.7'
525
+ version: '3.8.2-beta.9'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12386,7 +12386,7 @@ var handleStyle = function handleStyle(style) {
12386
12386
  };
12387
12387
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12388
12388
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12389
- /* harmony default export */ var version = ('3.8.2-beta.7');
12389
+ /* harmony default export */ var version = ('3.8.2-beta.9');
12390
12390
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12391
12391
 
12392
12392
 
@@ -41911,10 +41911,15 @@ var More = function More(props) {
41911
41911
  return data[index];
41912
41912
  });
41913
41913
  var afterCount = Math.max(0, data.length - validShowNum);
41914
- after = new Array(afterCount).fill(undefined).map(function (_item, index) {
41915
- return data[validShowNum + index];
41916
- });
41917
- afterLength = after.length;
41914
+ try {
41915
+ after = new Array(afterCount).fill(undefined).map(function (_item, index) {
41916
+ return data[validShowNum + index];
41917
+ });
41918
+ afterLength = after.length;
41919
+ } catch (error) {
41920
+ after = [];
41921
+ afterLength = 0;
41922
+ }
41918
41923
  }
41919
41924
  if (shouldShowMore) {
41920
41925
  return /*#__PURE__*/(0,jsx_runtime.jsxs)((external_root_React_commonjs2_react_commonjs_react_amd_react_default()).Fragment, {
@@ -41956,6 +41961,9 @@ var More = function More(props) {
41956
41961
  onClick: function onClick(e) {
41957
41962
  return e.stopPropagation();
41958
41963
  },
41964
+ onScroll: function onScroll(e) {
41965
+ return e.stopPropagation();
41966
+ },
41959
41967
  children: [compressed === 'no-repeat' ? null : before, after]
41960
41968
  })
41961
41969
  })]
@@ -66200,6 +66208,7 @@ var emptyRef = {
66200
66208
  props.onScroll(info.x, info.y, info.scrollLeft, info.scrollTop);
66201
66209
  }
66202
66210
  syncHeaderScroll(info.scrollLeft);
66211
+ if (props.virtual !== "lazy") return;
66203
66212
  if (context.scrollingTimer) {
66204
66213
  clearTimeout(context.scrollingTimer);
66205
66214
  }
@@ -73087,7 +73096,7 @@ var upload_interface = __webpack_require__(8821);
73087
73096
 
73088
73097
 
73089
73098
  /* harmony default export */ var src_0 = ({
73090
- version: '3.8.2-beta.7'
73099
+ version: '3.8.2-beta.9'
73091
73100
  });
73092
73101
  }();
73093
73102
  /******/ return __webpack_exports__;