@floating-ui/dom
1.8.0 · 11 Jul 2026MIT149M / weekRepositoryHomepagenpmAtom feed
Upgrading @floating-ui/dom From 1.7.2 to 1.8.0
5 releases in betweenevery note read
Reading releases, release notes and advisories…
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
4 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.