@xuda.io/runtime-bundle 1.0.854 → 1.0.855

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.
@@ -14775,6 +14775,10 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14775
14775
  );
14776
14776
 
14777
14777
  if (nodeP?.attributes?.['xu-viewport'] == 'true') {
14778
+ if ($div.parent().data().xuData.viewport_elm_height) {
14779
+ $div.css(height, $div.parent().data().xuData.viewport_elm_height);
14780
+ }
14781
+
14778
14782
  $div.on('inViewport', function () {
14779
14783
  if ($div.children().length) {
14780
14784
  $div.removeClass('skeleton');
@@ -12483,6 +12483,10 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12483
12483
  );
12484
12484
 
12485
12485
  if (nodeP?.attributes?.['xu-viewport'] == 'true') {
12486
+ if ($div.parent().data().xuData.viewport_elm_height) {
12487
+ $div.css(height, $div.parent().data().xuData.viewport_elm_height);
12488
+ }
12489
+
12486
12490
  $div.on('inViewport', function () {
12487
12491
  if ($div.children().length) {
12488
12492
  $div.removeClass('skeleton');