@floating-ui/core
1.8.0 · 11 Jul 2026MIT130.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @floating-ui/core From 0.6.2 to 0.7.3
4 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 1
- new
- 5
- fixes
Before you upgrade
Tick each one off as you go- breaking0.7.0
Release by release
- fixed
TS typedefs are now generated as "strict"
- fixed
Add safeguard return to bail out of positioning after 50 reset requests, preventing any infinite loops, even if more resets are requested. In DEV mode, the error about the positioning loop is now just a warning.
- fixed
- fixed
types: Prevent importing non-exported types in
domfromcore
- fixed
- fixed
arrow: When
paddingis specified, the coordinates of the floating element are now adjusted if needed to ensure the arrow continues to point at the center of the reference element. This takes precedence overstartandendalignments.
- fixed
- breaking
In both the
size()andoffset()middleware, thereferenceandfloatingtop-level parameters are now namespaced underrects—rects.referenceandrects.floating. - new
Added "browser" export conditions
- fixed
arrow: Fallback to the
floatingelement as theoffsetParent
- breaking
2 internal lines (docs, tests, tooling) left out.