@qontinui/ui-bridge-native 0.6.6 → 0.6.7

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.
@@ -890,7 +890,7 @@ function diagnosePageHealth(elements, viewport) {
890
890
  let outsideViewport = 0;
891
891
  for (const { rect } of visible) {
892
892
  if (rect.width === 0 || rect.height === 0) zeroSize++;
893
- if (rect.x + rect.width < 0 || rect.y + rect.height < 0 || rect.x > 1 || rect.y > 1) {
893
+ if (rect.x + rect.width < 0 || rect.x > 1) {
894
894
  outsideViewport++;
895
895
  }
896
896
  }
@@ -898,7 +898,7 @@ function diagnosePageHealth(elements, viewport) {
898
898
  findings.push({
899
899
  check: "visual_anomalies",
900
900
  severity: anomalySeverity,
901
- detail: `zero_size=${zeroSize}, outside_viewport=${outsideViewport}`,
901
+ detail: `zero_size=${zeroSize}, outside_viewport=${outsideViewport} (horizontal-overflow only; below/above-fold scrollable content is not an anomaly)`,
902
902
  data: { zero_size: zeroSize, outside_viewport: outsideViewport }
903
903
  });
904
904
  const heatmap = grid.map(