@xuda.io/runtime-bundle 1.0.920 → 1.0.921

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.
@@ -14492,7 +14492,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14492
14492
  if ($div.children().length) {
14493
14493
  // UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')] = $div.children().clone(true);
14494
14494
  $div.empty();
14495
- const height = $div.data().xuData.viewport_height;
14495
+ const height = $div?.data()?.xuData?.viewport_height || 10;
14496
14496
  if (typeof height !== 'undefined') {
14497
14497
  $div.css('height', height);
14498
14498
  }
@@ -12219,7 +12219,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12219
12219
  if ($div.children().length) {
12220
12220
  // UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')] = $div.children().clone(true);
12221
12221
  $div.empty();
12222
- const height = $div.data().xuData.viewport_height;
12222
+ const height = $div?.data()?.xuData?.viewport_height || 10;
12223
12223
  if (typeof height !== 'undefined') {
12224
12224
  $div.css('height', height);
12225
12225
  }