Popover
View Source
Scroll Me
Props
ReactReactNodeControls the default component or tag being rendered.
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.
booleanAttempts to keep popover in view clipping edges if too large.
booleanLocks external scrollbars when open.
boolean | 'minimum'Matches anchor and popover widths.
booleanControls rendering of the popover.
numberControls the space between the popover and its anchor.
() => voidCalled when the popover should close.
'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-start' | 'bottom' | 'bottom-end' | 'left-start' | 'left' | 'left-end'Where to place the popover.
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.
anyCalls as innerRef to calculate popover’s bounds.