@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 new2 faster8 fixed
Release note
Patch Changes
useTransitionStatus: Avoid browser from painting before floating element opens. With
FloatingDelayGroup, this avoids a flicker when moving between floating elements to ensure one is always open with no missing frames.useListNavigation: Correctly scroll to the selected item on open when using a pointer and
FloatingFocusManagerinitialFocusis not in useuseHover: Clean up blockPointerEvents when opened with click after hover
useRole: Improve "combobox" role
useRole: Handle custom id attributes
Experimental
NextFloatingDelayGroup(anduseNextFloatingDelayGroup). UnlikeFloatingDelayGroup, this component doesn't cause a re-render of unrelated consumers of the context when the delay changes, improving performance. This will eventually become the new default forFloatingDelayGroupin v1 (Next), as its API is different.FloatingFocusManager: Ignore manual tabindex handling for non-dialog role floating elements
useHover: Prevent floating element unexpectedly closing when close to reference element when not using
safePolygon()and a close delayuseFloating: Refactor
eventsemitterFloatingFocusManager: Ensure floating elements with no tabbable content are assigned
tabIndex=0wheninitialFocusis -1useListNavigation: Handle list navigation for nested lists with mixed orientation
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.