@floating-ui/core
1.8.0 · 11 Jul 2026MIT130.1M / weekRepositoryHomepagenpmAtom feed
Your version
1.8.0 is the newest release of 1.x.
In short
1 new1 fixed1 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}));
Bug Fixes
arrow: Ensure large
paddingoption value does not cause incorrect centering