shineout 3.5.4-beta.12 → 3.5.4-beta.14

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
@@ -507,5 +507,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
507
507
  // 此文件由脚本自动生成,请勿直接修改。
508
508
  // This file was generated automatically by a script. Please do not modify it directly.
509
509
  var _default = exports.default = {
510
- version: '3.5.4-beta.12'
510
+ version: '3.5.4-beta.14'
511
511
  };
package/dist/shineout.js CHANGED
@@ -12031,7 +12031,7 @@ var handleStyle = function handleStyle(style) {
12031
12031
  };
12032
12032
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12033
12033
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12034
- /* harmony default export */ var version = ('3.5.4-beta.12');
12034
+ /* harmony default export */ var version = ('3.5.4-beta.14');
12035
12035
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12036
12036
 
12037
12037
 
@@ -37292,7 +37292,7 @@ var Scroll = function Scroll(props) {
37292
37292
  var containerStyle = defineProperty_default()(defineProperty_default()({
37293
37293
  height: '100%',
37294
37294
  width: '100%',
37295
- display: 'inline-flex',
37295
+ display: 'inline-block',
37296
37296
  overflow: 'hidden',
37297
37297
  position: 'sticky'
37298
37298
  }, isRtl ? 'right' : 'left', 0), "top", 0);
@@ -37380,12 +37380,7 @@ var Scroll = function Scroll(props) {
37380
37380
  style: containerStyle,
37381
37381
  ref: containerRef,
37382
37382
  onScroll: handleInnerScroll,
37383
- children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
37384
- style: objectSpread2_default()({
37385
- flexGrow: 1
37386
- }, props.childrenStyle),
37387
- children: props.children
37388
- })
37383
+ children: props.children
37389
37384
  })), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
37390
37385
  style: placeStyle,
37391
37386
  children: "\xA0"
@@ -37564,9 +37559,6 @@ var VirtualList = function VirtualList(props) {
37564
37559
  scrollWidth: 0,
37565
37560
  scrollHeight: scrollHeight,
37566
37561
  wrapperRef: wrapperRef,
37567
- childrenStyle: {
37568
- width: '100%'
37569
- },
37570
37562
  onScroll: handleScroll,
37571
37563
  onMouseMove: handleMouseMove,
37572
37564
  children: /*#__PURE__*/(0,jsx_runtime.jsx)(Tag, {
@@ -58927,7 +58919,7 @@ var useTableVirtual = function useTableVirtual(props) {
58927
58919
  context.rowSpanRows = 0;
58928
58920
  var currentRowHeight = context.cachedHeight[i] || props.rowHeight;
58929
58921
  sum += currentRowHeight;
58930
- var rowSpanHeight = currentRowHeight;
58922
+ var rowSpanHeight = 0;
58931
58923
  if (rowSpanInfo) {
58932
58924
  var siblingsIndexs = [];
58933
58925
  for (var k = i; k < rowSpanInfo.maxRowSpan + i; k++) {
@@ -58953,6 +58945,14 @@ var useTableVirtual = function useTableVirtual(props) {
58953
58945
  }
58954
58946
  if (currentIndex !== startIndex) {
58955
58947
  setStartIndex(currentIndex);
58948
+
58949
+ // startIndex处于上方某个合并行的中间一行时,可能引起translate闪烁
58950
+ if (startIndex < currentIndex) {
58951
+ context.autoAddRows = currentIndex - startIndex;
58952
+ setTimeout(function () {
58953
+ context.autoAddRows = 0;
58954
+ }, 300);
58955
+ }
58956
58956
  }
58957
58957
  setTop(top);
58958
58958
  };
@@ -67152,7 +67152,7 @@ var upload_interface = __webpack_require__(8821);
67152
67152
 
67153
67153
 
67154
67154
  /* harmony default export */ var src_0 = ({
67155
- version: '3.5.4-beta.12'
67155
+ version: '3.5.4-beta.14'
67156
67156
  });
67157
67157
  }();
67158
67158
  /******/ return __webpack_exports__;