react-float-anchor
Advanced tools
Changelog
3.4.1 (2023-09-29)
Changelog
3.3.0 (2019-10-22)
float
prop.Changelog
3.1.0 (2019-03-28)
repositionAsync()
method to FloatAnchor. This method should generally be used instead of reposition()
because it allows multiple queued repositions to be coalesced together.autoFocus
prop not working on input elements and similar components inside of a floated element. The float element container div is now added to the page body before any of the float elements' componentDidMount methods are called.Changelog
3.0.0 (2018-10-30)
anchor
prop must be a function of anchorRef => React node now.FloatAnchor v2:
<FloatAnchor
anchor={
<div>a</div>
}
/>
FloatAnchor v3:
<FloatAnchor
anchor={anchorRef =>
<div ref={anchorRef}>a</div>
}
/>
anchor
and float
props may now use any React node rather than only a
React element. (You can pass a string now.)Changelog
2.2.0 (2018-09-24)
componentWillReceiveProps
.