@floating-ui/react
0.27.20 · 11 Jul 2026MIT34.1M / weekRepositoryHomepagenpmAtom feed
0.27.20 is the newest release of 0.27.x.
In short
1 breaking1 deprecated1 new1 faster4 fixed
- Breaking
Drop React 16 support. 17 is the minimum supported version.
- Deprecated
Deprecate
inneranduseInnerOffset. This technique of aligning an inner element to the reference has poor performance with longer lists, doesn't fit with the middleware paradigm, doesn't work on touch, and has a better custom alternative using nativeonScrollthat is encouraged instead.
Release note
Minor Changes
- Deprecated
Deprecate
inneranduseInnerOffset. This technique of aligning an inner element to the reference has poor performance with longer lists, doesn't fit with the middleware paradigm, doesn't work on touch, and has a better custom alternative using nativeonScrollthat is encouraged instead. - Breaking
Drop React 16 support. 17 is the minimum supported version.
useId: Add
| undefinedreturn type for React 17
Patch Changes
FloatingFocusManager: Add
outsideElementsInertprop. This enables pointer modality without a backdrop.useListNavigation: Simplify focusing to remove unneeded asynchronicity
useDismiss: Allow native clicks to work with
referencePressuseDismiss: Read target
overflowstyle for scrollbar press check. Fixes an issue where outside presses would be incorrectly prevented if the target element that was pressed appeared scrollable but was actually not.FloatingFocusManager: Check for 'safe-polygon' reason on return focus
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.