shineout 3.5.4-beta.13 → 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.13'
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.13');
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
 
@@ -58919,7 +58919,7 @@ var useTableVirtual = function useTableVirtual(props) {
58919
58919
  context.rowSpanRows = 0;
58920
58920
  var currentRowHeight = context.cachedHeight[i] || props.rowHeight;
58921
58921
  sum += currentRowHeight;
58922
- var rowSpanHeight = currentRowHeight;
58922
+ var rowSpanHeight = 0;
58923
58923
  if (rowSpanInfo) {
58924
58924
  var siblingsIndexs = [];
58925
58925
  for (var k = i; k < rowSpanInfo.maxRowSpan + i; k++) {
@@ -58945,6 +58945,14 @@ var useTableVirtual = function useTableVirtual(props) {
58945
58945
  }
58946
58946
  if (currentIndex !== startIndex) {
58947
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
+ }
58948
58956
  }
58949
58957
  setTop(top);
58950
58958
  };
@@ -67144,7 +67152,7 @@ var upload_interface = __webpack_require__(8821);
67144
67152
 
67145
67153
 
67146
67154
  /* harmony default export */ var src_0 = ({
67147
- version: '3.5.4-beta.13'
67155
+ version: '3.5.4-beta.14'
67148
67156
  });
67149
67157
  }();
67150
67158
  /******/ return __webpack_exports__;