@floating-ui/dom
1.8.0 · 11 Jul 2026MIT149.8M / weekRepositoryHomepagenpmAtom feed
Your version
1.8.0 is the newest release of 1.x.
In short
1 new1 internal
Release note
New Features
Allow function types for all middleware options, including
detectOverflow, to allow derivation from state// Options shift({mainAxis: true}); // Derived from state shift((state) => ({mainAxis: state.rects.reference.width > 10}));
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.