@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.
@@ -2021,7 +2021,7 @@ function diagnosePageHealth(elements, viewport) {
2021
2021
  let outsideViewport = 0;
2022
2022
  for (const { rect } of visible) {
2023
2023
  if (rect.width === 0 || rect.height === 0) zeroSize++;
2024
- if (rect.x + rect.width < 0 || rect.y + rect.height < 0 || rect.x > 1 || rect.y > 1) {
2024
+ if (rect.x + rect.width < 0 || rect.x > 1) {
2025
2025
  outsideViewport++;
2026
2026
  }
2027
2027
  }
@@ -2029,7 +2029,7 @@ function diagnosePageHealth(elements, viewport) {
2029
2029
  findings.push({
2030
2030
  check: "visual_anomalies",
2031
2031
  severity: anomalySeverity,
2032
- detail: `zero_size=${zeroSize}, outside_viewport=${outsideViewport}`,
2032
+ detail: `zero_size=${zeroSize}, outside_viewport=${outsideViewport} (horizontal-overflow only; below/above-fold scrollable content is not an anomaly)`,
2033
2033
  data: { zero_size: zeroSize, outside_viewport: outsideViewport }
2034
2034
  });
2035
2035
  const heatmap = grid.map(