@floating-ui/dom
1.8.0 · 11 Jul 2026MIT149.8M / weekRepositoryHomepagenpmAtom feed
1.8.0 is the newest release of 1.x.
In short
2 new1 fixed
Release note
New Features
platform: Add ability to polyfill
offsetParentaccess (in a pure way) to fix a platform gap where the incorrect value is returned inside shadow DOM.This was previously done internally a while ago (
1.0.1) but reportedly causes a performance issue in certain scenarios, meaning it cannot be a default. This allows the polyfill to be conditionally enabled by libraries. The polyfill and its usage is available here, which ideally would be made into its own package (that can be iterated on and potentially improved perf-wise).detectOverflow: Accept virtual
Rectboundaries
Bug Fixes
types: Exported
platformobject now has all methods non-optional withRequired<Platform>
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.