@kdcloudjs/kdesign 1.7.65 → 1.7.66

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/dist/kdesign.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * @kdcloudjs/kdesign v1.7.64
3
+ * @kdcloudjs/kdesign v1.7.65
4
4
  *
5
5
  * Copyright 2020-present, Kingdee, Inc.
6
6
  * All rights reserved.
@@ -39286,9 +39286,11 @@ var InternalTree = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_16___default.a.fo
39286
39286
  }
39287
39287
  }
39288
39288
  if (virtual) {
39289
- var _virtualListRef$curre;
39290
- (_virtualListRef$curre = virtualListRef.current) === null || _virtualListRef$curre === void 0 ? void 0 : _virtualListRef$curre.scrollTo({
39291
- index: scrollIndex
39289
+ requestAnimationFrame(function () {
39290
+ var _virtualListRef$curre;
39291
+ return (_virtualListRef$curre = virtualListRef.current) === null || _virtualListRef$curre === void 0 ? void 0 : _virtualListRef$curre.scrollTo({
39292
+ index: scrollIndex
39293
+ });
39292
39294
  });
39293
39295
  } else {
39294
39296
  var _wrapperDom$children$;