@xuda.io/runtime-bundle 1.0.847 → 1.0.849

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.
@@ -14784,6 +14784,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14784
14784
  }
14785
14785
 
14786
14786
  if (UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]) {
14787
+ $div.removeClass('skeleton');
14787
14788
  $div.html(UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]);
14788
14789
  } else {
14789
14790
  hover_in($div);
@@ -14793,7 +14794,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14793
14794
  });
14794
14795
 
14795
14796
  $div.on('outViewport', function () {
14796
- UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')] = $div.clone();
14797
+ UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')] = $div.children().clone();
14797
14798
  $div.empty();
14798
14799
  $div.addClass('skeleton');
14799
14800
  observer_inViewport.observe($div[0]);
@@ -12492,6 +12492,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12492
12492
  }
12493
12493
 
12494
12494
  if (UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]) {
12495
+ $div.removeClass('skeleton');
12495
12496
  $div.html(UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')]);
12496
12497
  } else {
12497
12498
  hover_in($div);
@@ -12501,7 +12502,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12501
12502
  });
12502
12503
 
12503
12504
  $div.on('outViewport', function () {
12504
- UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')] = $div.clone();
12505
+ UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')] = $div.children().clone();
12505
12506
  $div.empty();
12506
12507
  $div.addClass('skeleton');
12507
12508
  observer_inViewport.observe($div[0]);