Popover
View Source
Scroll Me
Props
Use the popover
key in ThemeProvider
to customize the default properties of this component.
ReactReactElement | unknown
The element to attach the popover to. Clones the element’s ref to calculate
position relative to the optional relativeTo
prop or the renderTo
element.
any
Controls the default component or tag being rendered.
unknown | signature
Calls as
innerRef
to calculate popover’s bounds.
boolean
Attempts to keep popover in view clipping edges if too large.
boolean
Locks external scrollbars when open.
boolean | 'minimum'
Matches anchor and popover widths.
number
Controls the space between the popover and its anchor.
() => void
Called when the popover should close.
boolean
Controls rendering of the popover.
Placement
Where to place the popover.
any
Where to place the popover relative to. Uses renderTo
by default.
HTMLElement | string
Where 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.
boolean
Determines if the popover should flip or not when it overflows.