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