shineout 3.9.5-beta.2 → 3.9.5-beta.3

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.5-beta.2'
525
+ version: '3.9.5-beta.3'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12401,7 +12401,7 @@ var handleStyle = function handleStyle(style) {
12401
12401
  };
12402
12402
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12403
12403
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12404
- /* harmony default export */ var version = ('3.9.5-beta.2');
12404
+ /* harmony default export */ var version = ('3.9.5-beta.3');
12405
12405
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12406
12406
 
12407
12407
 
@@ -31808,7 +31808,8 @@ var usePositionStyle = function usePositionStyle(config) {
31808
31808
  var _position$split3 = position.split('-'),
31809
31809
  _position$split4 = slicedToArray_default()(_position$split3, 2),
31810
31810
  _horizontalPosition = _position$split4[1];
31811
- if (_horizontalPosition === 'left' && context.parentRect.left + (popupElWidth || context.popUpWidth) > docSize.width) {
31811
+ var bodyZoom = getRelativeZoom(document.body);
31812
+ if (_horizontalPosition === 'left' && context.parentRect.left + (popupElWidth || context.popUpWidth) > docSize.width * bodyZoom) {
31812
31813
  newPosition = newPosition.replace('left', 'right');
31813
31814
  }
31814
31815
  }
@@ -74772,7 +74773,7 @@ var upload_interface = __webpack_require__(8821);
74772
74773
 
74773
74774
 
74774
74775
  /* harmony default export */ var src_0 = ({
74775
- version: '3.9.5-beta.2'
74776
+ version: '3.9.5-beta.3'
74776
74777
  });
74777
74778
  }();
74778
74779
  /******/ return __webpack_exports__;