@eclipse-scout/core 22.0.26 → 22.0.29

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.
@@ -119079,7 +119079,7 @@ class Tree extends _index__WEBPACK_IMPORTED_MODULE_0__.Widget {
119079
119079
  let scrollTop = this.$data[0].scrollTop;
119080
119080
  let scrollLeft = this.$data[0].scrollLeft;
119081
119081
 
119082
- if (this.scrollTop !== scrollTop) {
119082
+ if (this.scrollTop !== scrollTop && this.rendered) {
119083
119083
  this._renderViewport();
119084
119084
  }
119085
119085
 
@@ -120759,10 +120759,7 @@ class Tree extends _index__WEBPACK_IMPORTED_MODULE_0__.Widget {
120759
120759
  _addToVisibleFlatListNoCheck(node, insertIndex, animatedRendering) {
120760
120760
  _index__WEBPACK_IMPORTED_MODULE_0__.arrays.insert(this.visibleNodesFlat, node, insertIndex);
120761
120761
  this.visibleNodesMap[node.id] = true;
120762
-
120763
- if (this.rendered) {
120764
- this.showNode(node, animatedRendering, insertIndex);
120765
- }
120762
+ this.showNode(node, animatedRendering, insertIndex);
120766
120763
  }
120767
120764
 
120768
120765
  scrollTo(node, options) {
@@ -121036,10 +121033,18 @@ class Tree extends _index__WEBPACK_IMPORTED_MODULE_0__.Widget {
121036
121033
  nodes[i].childNodeIndex = i;
121037
121034
  }
121038
121035
  }
121036
+ /**
121037
+ * @param {TreeNode} [parentNode]
121038
+ */
121039
+
121039
121040
 
121040
121041
  insertNode(node, parentNode) {
121041
121042
  this.insertNodes([node], parentNode);
121042
121043
  }
121044
+ /**
121045
+ * @param {TreeNode} [parentNode]
121046
+ */
121047
+
121043
121048
 
121044
121049
  insertNodes(nodes, parentNode) {
121045
121050
  nodes = _index__WEBPACK_IMPORTED_MODULE_0__.arrays.ensure(nodes).slice();
@@ -122043,7 +122048,7 @@ class Tree extends _index__WEBPACK_IMPORTED_MODULE_0__.Widget {
122043
122048
  }
122044
122049
 
122045
122050
  hideNode(node, useAnimation, suppressDetachHandling) {
122046
- if (!node.attached) {
122051
+ if (!this.rendered || !node.attached) {
122047
122052
  return;
122048
122053
  }
122049
122054