@floating-ui/core
1.8.0 · 11 Jul 2026MIT130.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @floating-ui/core From 1.0.1 to 1.8.0
39 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 13
- new
- 30
- 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
3 other lines we could not sort, mostly version bumps
- 1.0.5
Importing into universal apps (#166) (thank @HHogg)
- 1.0.4
You can't no longer access Tooltip.js builds from the Popper.js npm package, install both the packages if you need them!
- 1.0.4
You can't no longer access Popper.js builds from the Tooltip.js npm package, install both the packages if you need them!
24 internal lines (docs, tests, tooling) left out.