@xuda.io/runtime-bundle 1.0.852 → 1.0.853

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.
@@ -31220,6 +31220,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31220
31220
  }, 100);
31221
31221
  return;
31222
31222
  }
31223
+ UI_WORKER_OBJ.cache = {};
31223
31224
  const _session = SESSION_OBJ[SESSION_ID];
31224
31225
  if (_session.engine_mode === 'live_preview') {
31225
31226
  console.info('========= xu-attributes refresh info ==============');
@@ -31673,6 +31674,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31673
31674
  }
31674
31675
  }
31675
31676
  if (found) {
31677
+ UI_WORKER_OBJ.cache = {};
31676
31678
  const _session = SESSION_OBJ[SESSION_ID];
31677
31679
  if (_session.engine_mode === 'live_preview') {
31678
31680
  console.info('========= refresh info ==============');
@@ -34461,8 +34463,10 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
34461
34463
  });
34462
34464
 
34463
34465
  $div.on('outViewport', function () {
34464
- UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')] = $div.children().clone(true);
34465
- $div.empty();
34466
+ if ($div.children().length) {
34467
+ UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')] = $div.children().clone(true);
34468
+ $div.empty();
34469
+ }
34466
34470
  // $div.addClass('skeleton');
34467
34471
  observer_inViewport.observe($div[0]);
34468
34472
  });