shineout 3.9.0-beta.33 → 3.9.0-beta.34

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.9.0-beta.33'
525
+ version: '3.9.0-beta.34'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12400,7 +12400,7 @@ var handleStyle = function handleStyle(style) {
12400
12400
  };
12401
12401
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12402
12402
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12403
- /* harmony default export */ var version = ('3.9.0-beta.33');
12403
+ /* harmony default export */ var version = ('3.9.0-beta.34');
12404
12404
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12405
12405
 
12406
12406
 
@@ -56193,8 +56193,9 @@ var ListOption = function ListOption(props) {
56193
56193
  onOptionClick(data, index);
56194
56194
  };
56195
56195
  var setVirtualRowHeight = usePersistFn(function () {
56196
+ var _optionRef$current;
56196
56197
  if (!props.setRowHeight || !optionRef.current) return;
56197
- var optionHeight = optionRef.current.getBoundingClientRect().height;
56198
+ var optionHeight = (_optionRef$current = optionRef.current) === null || _optionRef$current === void 0 ? void 0 : _optionRef$current.offsetHeight;
56198
56199
  if (optionHeight !== 0) {
56199
56200
  props.setRowHeight(index, optionHeight);
56200
56201
  }
@@ -74295,7 +74296,7 @@ var upload_interface = __webpack_require__(8821);
74295
74296
 
74296
74297
 
74297
74298
  /* harmony default export */ var src_0 = ({
74298
- version: '3.9.0-beta.33'
74299
+ version: '3.9.0-beta.34'
74299
74300
  });
74300
74301
  }();
74301
74302
  /******/ return __webpack_exports__;