@eclipse-scout/core 22.0.11 → 22.0.12

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/file-list CHANGED
@@ -1,5 +1,5 @@
1
- eclipse-scout-core-e5e8740e3649f5b9f279.min.js
2
- eclipse-scout-core-e5e8740e3649f5b9f279.min.js.map
1
+ eclipse-scout-core-af5ff6abad5f1ff9fd18.min.js
2
+ eclipse-scout-core-af5ff6abad5f1ff9fd18.min.js.map
3
3
  eclipse-scout-core-theme-74b63e0d57bed407a729.min.css
4
4
  eclipse-scout-core-theme-dark-b82aea152f416e38ce7f.min.css
5
5
  eclipse-scout-core-theme-dark.css
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eclipse-scout/core",
3
- "version": "22.0.11",
3
+ "version": "22.0.12",
4
4
  "description": "Eclipse Scout runtime",
5
5
  "author": "BSI Business Systems Integration AG",
6
6
  "homepage": "https://www.eclipse.org/scout",
@@ -26,7 +26,7 @@
26
26
  "src"
27
27
  ],
28
28
  "devDependencies": {
29
- "@eclipse-scout/cli": "22.0.11",
29
+ "@eclipse-scout/cli": "22.0.12",
30
30
  "@eclipse-scout/releng": "^22.0.0",
31
31
  "jasmine-core": "3.10.1",
32
32
  "jasmine-ajax": "4.0.0",
@@ -147,7 +147,7 @@ export default class ColumnOptimalWidthMeasurer {
147
147
  _build$CellForAggregateRow(row) {
148
148
  let columns = this.table.visibleColumns();
149
149
  let colIndex = columns.indexOf(this.column);
150
- let $row = this.table._buildAggregateRowDiv(row);
150
+ let $row = this.table._build$AggregateRow(row);
151
151
 
152
152
  $row.appendTo(this.table.$data);
153
153
  columns
package/src/tree/Tree.js CHANGED
@@ -2926,6 +2926,10 @@ export default class Tree extends Widget {
2926
2926
  } else if (newWidth > this.maxNodeWidth) {
2927
2927
  this.maxNodeWidth = newWidth;
2928
2928
  this.nodeWidthDirty = true;
2929
+ } else if (newWidth === oldWidth && newWidth === 0) {
2930
+ // newWidth and oldWidth are 0: this might be because the tree is invisible while a node is added:
2931
+ // Mark as dirty to update the width later during layouting (when the tree gets visible and the width is available)
2932
+ this.nodeWidthDirty = true;
2929
2933
  }
2930
2934
  node.width = newWidth;
2931
2935
  }, this);