@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.
|
@@ -27847,7 +27847,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
27847
27847
|
},
|
|
27848
27848
|
render_viewport: async function () {
|
|
27849
27849
|
const { nodeP, $div, parent_infoP, $root_container, jobNoP, is_skeleton, paramsP, $container } = queue_obj?.paramsP || {};
|
|
27850
|
-
if (nodeP?.children?.length) {
|
|
27850
|
+
if (nodeP?.children?.length && !$div.children().length) {
|
|
27851
27851
|
// func.UI.screen.hover_in(SESSION_ID, $div, $container, paramsP, is_skeleton);
|
|
27852
27852
|
// setTimeout(async () => {
|
|
27853
27853
|
for await (const [key, val] of Object.entries(nodeP.children)) {
|
|
@@ -34449,10 +34449,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34449
34449
|
|
|
34450
34450
|
if (nodeP?.attributes?.['xu-viewport'] == 'true') {
|
|
34451
34451
|
$div.on('inViewport', function () {
|
|
34452
|
-
if ($div.children().length)
|
|
34453
|
-
// const ui_id = $($div.children()[0]).attr('xu-ui-id');
|
|
34454
|
-
return;
|
|
34455
|
-
}
|
|
34452
|
+
if ($div.children().length) return;
|
|
34456
34453
|
|
|
34457
34454
|
hover_in($div);
|
|
34458
34455
|
|