@floating-ui/core
1.8.0 · 11 Jul 2026MIT130.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @floating-ui/core From 0.7.1 to 1.8.0
43 releases in betweenevery note read
Reading releases, release notes and advisories…
- 7
- changes to make
- 0
- advisories fixed
- 16
- new
- 34
- fixes
Before you upgrade
Tick each one off as you go- breaking1.0.0
- breaking1.0.0
- breaking1.0.0
- breaking1.0.0
- breaking1.0.0
- breaking1.0.0
- 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
14 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!
- 1.0.1
Minor perf improvement of
arrowmodifier - 1.0.0
Converted source code to ES6
- 1.0.0
Build now uses Rollup
- 1.0.0
Moved from JSHint to ESLint
- 1.0.0
Moved from Uglify to Babili
- 1.0.0
Get rid of Grunt
- 1.0.0
Updated npm dependencies
25 internal lines (docs, tests, tooling) left out.