@kdcloudjs/table 1.2.2-canary.14-hotfix.1 → 1.2.2-canary.14-hotfix.2

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/table v1.2.2-canary.14-hotfix
3
+ * @kdcloudjs/table v1.2.2-canary.14-hotfix.1
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/table v1.2.2-canary.14-hotfix
3
+ * @kdcloudjs/table v1.2.2-canary.14-hotfix.1
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -3396,7 +3396,9 @@ function RowDetail(props) {
3396
3396
  Object(react__WEBPACK_IMPORTED_MODULE_17__["useEffect"])(function () {
3397
3397
  // 这时候行才渲染完,只能在这里设置偏移量
3398
3398
  var offsetTop = domHelper.getRowTop(rowIndex) || 0;
3399
- detailRef.current.style.transform = "translateY(".concat(offsetTop + 'px', ")");
3399
+ setTimeout(function () {
3400
+ detailRef.current.style.transform = "translateY(".concat(offsetTop + 'px', ")");
3401
+ }, 0);
3400
3402
  });
3401
3403
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_17___default.a.createElement("div", {
3402
3404
  ref: detailRef,