Popover
View Source
Scroll Me
Props
Use the popover key in ThemeProvider to customize the default properties of this component.
ReactReactElement | unknownThe element to attach the popover to. Clones the element’s ref to calculate
position relative to the optional relativeTo prop or the renderTo element.
anyControls the default component or tag being rendered.
unknown | signatureCalls as innerRef to calculate popover’s bounds.
booleanAttempts to keep popover in view clipping edges if too large.
booleanLocks external scrollbars when open.
boolean | 'minimum'Matches anchor and popover widths.
numberControls the space between the popover and its anchor.
() => voidCalled when the popover should close.
booleanControls rendering of the popover.
PlacementWhere to place the popover.
booleanDetermines if the popover should use a ref instead of an innerRef. Default is true.
This is useful when the anchor element is not a Tapestry React component.
anyWhere to place the popover relative to. Uses renderTo by default.
HTMLElement | stringWhere to render the popover into. Accepts an HTML element or selector.
Uses the closest fixed parent or document.body by default. This will only
be computed once on initial render.
booleanDetermines if the popover should flip or not when it overflows.