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