react-tiny-popover
Advanced tools
Changelog
[8.1.4] - 2024-11-20
Changelog
[8.1.3] - 2024-11-20
Changelog
[8.1.1] - 2024-9-13
reposition
positions
boundaryElement
boundaryInset
transform
transformMode
childRect
changespopoverRect
changespadding
align
Changelog
[8.1.0] - 2024-9-12
react-tiny-popover-container
and react-tiny-popover-scout
react-tiny-popover-container
and react-tiny-popover-scout
are
now assigned as class names rather than ids. The absence of this functionality
has been an oversight, since multiple popovers can be present in the DOM
simultaneously. This resulted in more than one element having the same id.Changelog
[8.0.1] - 2023-10-19
DOMRect
changes as it interferes with SSR, replaced with custom Rect
interface that mirrors the same APIChangelog
[8.0.0] - 2023-10-18
contentLocation
prop has been renamed to positionTransform
, behaves exactly the samepositions
prop now accepts a single string in addition to an array of prioritized stringsClientRect
to DOMRect
(thanks @jafin)transformMode
prop now accepts string values of "absolute"
or "relative"
. "absolute"
mode is its default, and causes behavior identical to contentLocation
. The "relative"
value, however, will cause the provided top
and left
values of the transform to merely be summed to the existing nudgeTop
and nudgeLeft
values, behaving as a relative positioning system.