@floating-ui/core
1.8.0 · 11 Jul 2026MIT130.1M / weekRepositoryHomepagenpmAtom feed
0.7.3 is the newest release of 0.7.x.
In short
1 breaking1 new1 fixed2 internal
- breaking
In both the
size()andoffset()middleware, thereferenceandfloatingtop-level parameters are now namespaced underrects—rects.referenceandrects.floating.
Release note
New Features
Added "browser" export conditions
BREAKING: removed the previous "production" and "development" export conditions. The new "browser" key is a replacement for this. See Package entry points.
Refactors
- breaking
In both the
size()andoffset()middleware, thereferenceandfloatingtop-level parameters are now namespaced underrects—rects.referenceandrects.floating.The entire
MiddlewareArgumentsobject gets spread in, so there's more data to access if needed.
Bug Fixes
arrow: Fallback to the
floatingelement as theoffsetParentReact Native / other platforms that do not implement
getOffsetParent