@xuda.io/runtime-bundle 1.0.866 → 1.0.867
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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -8776,7 +8776,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
8776
8776
|
}
|
|
8777
8777
|
|
|
8778
8778
|
if ($div.hasClass('viewport_height')) {
|
|
8779
|
-
$div.
|
|
8779
|
+
$div.data().xuData.viewport_height = $div.height();
|
|
8780
8780
|
$div.css('height', 'unset');
|
|
8781
8781
|
}
|
|
8782
8782
|
}
|
|
@@ -14862,6 +14862,10 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14862
14862
|
if ($div.children().length) {
|
|
14863
14863
|
UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')] = $div.children().clone(true);
|
|
14864
14864
|
$div.empty();
|
|
14865
|
+
const height = $div.data().xuData.viewport_height;
|
|
14866
|
+
if (typeof height !== 'undefined') {
|
|
14867
|
+
$div.css('height', height);
|
|
14868
|
+
}
|
|
14865
14869
|
}
|
|
14866
14870
|
// $div.addClass('skeleton');
|
|
14867
14871
|
observer_inViewport.observe($div[0]);
|
|
@@ -8777,7 +8777,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
8777
8777
|
}
|
|
8778
8778
|
|
|
8779
8779
|
if ($div.hasClass('viewport_height')) {
|
|
8780
|
-
$div.
|
|
8780
|
+
$div.data().xuData.viewport_height = $div.height();
|
|
8781
8781
|
$div.css('height', 'unset');
|
|
8782
8782
|
}
|
|
8783
8783
|
}
|
|
@@ -12570,6 +12570,10 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
12570
12570
|
if ($div.children().length) {
|
|
12571
12571
|
UI_WORKER_OBJ.cache[$div.attr('xu-ui-id')] = $div.children().clone(true);
|
|
12572
12572
|
$div.empty();
|
|
12573
|
+
const height = $div.data().xuData.viewport_height;
|
|
12574
|
+
if (typeof height !== 'undefined') {
|
|
12575
|
+
$div.css('height', height);
|
|
12576
|
+
}
|
|
12573
12577
|
}
|
|
12574
12578
|
// $div.addClass('skeleton');
|
|
12575
12579
|
observer_inViewport.observe($div[0]);
|