@xuda.io/runtime-bundle 1.0.843 → 1.0.844

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.
@@ -8757,7 +8757,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
8757
8757
  },
8758
8758
  render_viewport: async function () {
8759
8759
  const { nodeP, $div, parent_infoP, $root_container, jobNoP, is_skeleton, paramsP, $container } = queue_obj?.paramsP || {};
8760
- if (nodeP?.children?.length) {
8760
+ if (nodeP?.children?.length && !$div.children().length) {
8761
8761
  // func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
8762
8762
  // setTimeout(async () => {
8763
8763
  for await (const [key, val] of Object.entries(nodeP.children)) {
@@ -14782,10 +14782,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14782
14782
 
14783
14783
  if (nodeP?.attributes?.['xu-viewport'] == 'true') {
14784
14784
  $div.on('inViewport', function () {
14785
- if ($div.children().length) {
14786
- // const ui_id = $($div.children()[0]).attr('xu-ui-id');
14787
- return;
14788
- }
14785
+ if ($div.children().length) return;
14789
14786
 
14790
14787
  hover_in($div);
14791
14788
 
@@ -8758,7 +8758,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
8758
8758
  },
8759
8759
  render_viewport: async function () {
8760
8760
  const { nodeP, $div, parent_infoP, $root_container, jobNoP, is_skeleton, paramsP, $container } = queue_obj?.paramsP || {};
8761
- if (nodeP?.children?.length) {
8761
+ if (nodeP?.children?.length && !$div.children().length) {
8762
8762
  // func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
8763
8763
  // setTimeout(async () => {
8764
8764
  for await (const [key, val] of Object.entries(nodeP.children)) {
@@ -12490,10 +12490,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12490
12490
 
12491
12491
  if (nodeP?.attributes?.['xu-viewport'] == 'true') {
12492
12492
  $div.on('inViewport', function () {
12493
- if ($div.children().length) {
12494
- // const ui_id = $($div.children()[0]).attr('xu-ui-id');
12495
- return;
12496
- }
12493
+ if ($div.children().length) return;
12497
12494
 
12498
12495
  hover_in($div);
12499
12496