@floating-ui/dom
1.8.0 · 11 Jul 2026MIT149M / weekRepositoryHomepagenpmAtom feed
Upgrading @floating-ui/dom From 0.5.0 to 1.8.0
63 releases in betweenevery note read
Reading releases, release notes and advisories…
- 6
- changes to make
- 0
- advisories fixed
- 17
- new
- 74
- 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
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
dom: Reduce bundle size and skip redundant per-call work in positioning utilities
- Fixed
Remove redundant passive options from scroll listeners
- Fixed
Support explicit
undefinedfor optional properties withexactOptionalPropertyTypes
- New
- New
Bundle and runtime improvements
- New
autoUpdate: Allow not passing a floating element
- Fixed
types: Ensure
Platformtype containsdetectOverflowtype
- New
1.7.5nothing new or fixed in the note
- Fixed
getViewportRect: Account for space left by
scrollbar-gutter: stable
- Fixed
1.7.3nothing new or fixed in the note
- New
Reduce memory allocations
- New
1.7.1nothing new or fixed in the note
- 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). - Fixed
Correct position when document scrollbar is on left side with fixed strategy
- New
16 other lines we could not sort, mostly version bumps
- 1.0.7
Calculate position to documentRoot instead of offsetParent (fixes #177) (thank @claudiobmgrtnr)
- 1.0.6
Exclude
.babelrcfrom npm bundle to avoid build problems in 3rd party build setups - 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
33 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.