@homebound/beam 3.0.2 → 3.0.3
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.cjs +8 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9431,7 +9431,14 @@ function OverlayTrigger(props) {
|
|
|
9431
9431
|
isOpen: state.isOpen,
|
|
9432
9432
|
onClose: state.close,
|
|
9433
9433
|
placement: placement ? `bottom ${placement}` : "bottom left",
|
|
9434
|
-
offset: showActiveBorder ? 4 : void 0
|
|
9434
|
+
offset: showActiveBorder ? 4 : void 0,
|
|
9435
|
+
// Prevents a react-aria ResizeObserver loop that prevents full scrollability in menus
|
|
9436
|
+
// that scroll when the trigger is inside a virtual GridTable with nested
|
|
9437
|
+
// scroll containers (e.g. stepper + layout + virtuoso), and the trigger is far
|
|
9438
|
+
// enough from the viewport edge that the calculated maxHeight differs significantly
|
|
9439
|
+
// This is a very specific set of circumstances that have appeared w/in blueprint
|
|
9440
|
+
// after we upgraded truss to v2
|
|
9441
|
+
maxHeight: window.visualViewport?.height ?? window.innerHeight
|
|
9435
9442
|
});
|
|
9436
9443
|
const tid = useTestIds(props, isTextButton(trigger) ? defaultTestId(labelOr(trigger, "overlayTrigger")) : isNavLinkButton(trigger) ? defaultTestId(trigger.navLabel) : isIconButton(trigger) ? trigger.icon : trigger.name);
|
|
9437
9444
|
return (
|