@xuda.io/runtime-bundle 1.0.861 → 1.0.863

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.
@@ -11527,7 +11527,12 @@ func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callin
11527
11527
 
11528
11528
  for (const [container_xu_ui_id, val] of Object.entries(UI_WORKER_OBJ.pending_for_viewport_render)) {
11529
11529
  const height = val.base_$div.height();
11530
-
11530
+ if (height) {
11531
+ const total_height = height * val.data.length || 1;
11532
+ if (total_height > val.$container.height()) {
11533
+ val.$container.css('height', height * val.data.length);
11534
+ }
11535
+ }
11531
11536
  debugger;
11532
11537
  }
11533
11538
 
@@ -9235,7 +9235,12 @@ func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callin
9235
9235
 
9236
9236
  for (const [container_xu_ui_id, val] of Object.entries(UI_WORKER_OBJ.pending_for_viewport_render)) {
9237
9237
  const height = val.base_$div.height();
9238
-
9238
+ if (height) {
9239
+ const total_height = height * val.data.length || 1;
9240
+ if (total_height > val.$container.height()) {
9241
+ val.$container.css('height', height * val.data.length);
9242
+ }
9243
+ }
9239
9244
  debugger;
9240
9245
  }
9241
9246