@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.
package/dist/index.js CHANGED
@@ -2073,7 +2073,7 @@ function diagnosePageHealth(elements, viewport) {
2073
2073
  let outsideViewport = 0;
2074
2074
  for (const { rect } of visible) {
2075
2075
  if (rect.width === 0 || rect.height === 0) zeroSize++;
2076
- if (rect.x + rect.width < 0 || rect.y + rect.height < 0 || rect.x > 1 || rect.y > 1) {
2076
+ if (rect.x + rect.width < 0 || rect.x > 1) {
2077
2077
  outsideViewport++;
2078
2078
  }
2079
2079
  }
@@ -2081,7 +2081,7 @@ function diagnosePageHealth(elements, viewport) {
2081
2081
  findings.push({
2082
2082
  check: "visual_anomalies",
2083
2083
  severity: anomalySeverity,
2084
- detail: `zero_size=${zeroSize}, outside_viewport=${outsideViewport}`,
2084
+ detail: `zero_size=${zeroSize}, outside_viewport=${outsideViewport} (horizontal-overflow only; below/above-fold scrollable content is not an anomaly)`,
2085
2085
  data: { zero_size: zeroSize, outside_viewport: outsideViewport }
2086
2086
  });
2087
2087
  const heatmap = grid.map(