@samitouri / QOS-React / commits / 5747cadf44

[DevTools] Don't hide overflow rectangles (#34852)

I get the wish to click the shadow but not all child boundaries are within the bounds of the outer Suspense boundary's node. Sometimes they overflow naturally and if we make it overflow hidden we hide the boundaries. Maybe it would be ok if they're actually clipped by the real DOM but right now it covers up boundaries that should be there. Additionally, there's also a common case where the parent boundary shrinks when suspending the children. That then causes the suspended child boundaries to be clipped so that you can't restore them. Maybe the virtual boundary shouldn't shrink in this case.

Sebastian Markbåge committed Oct 15, 2025 at 10:25 UTC 5747cadf44c0895a891f8c17489b8516829ef6ef
1 file changed -5
packages/react-devtools-shared/src/devtools/views/SuspenseTab/SuspenseRects.css
-5
@@ -19,11 +19,6 @@
19
20 .SuspenseRectsBoundaryChildren {
21 pointer-events: none;
22 - /**
23 - * So that the shadow of Boundaries within is clipped off.
24 - * Otherwise it would look like this boundary is further elevated.
25 - */
26 - overflow: hidden;
22 }
23
24 .SuspenseRectsScaledRect[data-visible='false'] > .SuspenseRectsBoundaryChildren {