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