@xuda.io/runtime-bundle 1.0.866 → 1.0.868

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.
@@ -27866,7 +27866,6 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
27866
27866
  }
27867
27867
 
27868
27868
  if ($div.hasClass('viewport_height')) {
27869
- $div.addClass('viewport_height');
27870
27869
  $div.css('height', 'unset');
27871
27870
  }
27872
27871
  }
@@ -27881,6 +27880,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
27881
27880
  $.each($elm.children(), function (key, elm) {
27882
27881
  if (!$(elm).height() && !$(elm).children()) {
27883
27882
  $(elm).css('height', height).addClass('viewport_height');
27883
+ $(elm).data().xuData.viewport_height = $div.height();
27884
27884
  }
27885
27885
  });
27886
27886
 
@@ -34529,6 +34529,10 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
34529
34529
  if ($div.children().length) {
34530
34530
  UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')] = $div.children().clone(true);
34531
34531
  $div.empty();
34532
+ const height = $div.data().xuData.viewport_height;
34533
+ if (typeof height !== 'undefined') {
34534
+ $div.css('height', height);
34535
+ }
34532
34536
  }
34533
34537
  // $div.addClass('skeleton');
34534
34538
  observer_inViewport.observe($div[0]);