@floating-ui/core
1.8.0 · 11 Jul 2026MIT130.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @floating-ui/core From 1.1.0 to 1.8.0
34 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 10
- new
- 28
- fixes
Before you upgrade
Tick each one off as you go- deprecated1.2.1
Release by release
- new
Add
'layoutViewport'string option torootBoundary. Unlike the visual'viewport'boundary, it remains stable while pinch-zooming or when a mobile software keyboard is open, and unlike a manually passedRectof the documentElement's client size, it accounts for space reserved byscrollbar-gutter: stable. - new
core: Reduce bundle size with behavior-identical middleware simplifications
- fixed
inline: no-op on empty client rects and detect RTL disjoined line rects
- fixed
Support explicit
undefinedfor optional properties withexactOptionalPropertyTypes - fixed
size: Correctly compute available size for centered elements overflowing both sides
- new
- new
Bundle and runtime improvements
- new
- new
detectOverflow configurable via platform
- new
- fixed
flip: Ensure perpendicular axis flips with crossAxis alignment
- fixed
- new
Reduce memory allocations
- new
- fixed
flip: Only allow fallback to the perpendicular axis if all placements on the preferred side axis overflow the main axis with
crossAxis: 'alignment'
- fixed
- new
flip: Add
"alignment"string value forcrossAxisoption. This value determines if cross axis overflow checking is restricted to thealignmentof the placement only. This preventsfallbackPlacements/fallbackAxisSideDirectionfrom too eagerly changing to the perpendicular side (thereby preferringshift()if overflow is detected along the cross axis, even ifshift()is placed afterflip()in the middleware array).
- new
1.6.9nothing new or fixed in the note
17 internal lines (docs, tests, tooling) left out.