@floating-ui/react
0.27.20 · 11 Jul 2026MIT34.1M / weekRepositoryHomepagenpmAtom feed
0.27.20 is the newest release of 0.23.x.
In short
2 new3 fixed
Release note
New Features
safePolygon: Replace
restMsoption withrequireIntentboolean optionWhen multiple reference elements next to each other have hoverable floating elements,
requireIntent(trueby default) ensures the triangle polygon does not block hover events too aggressively compared torestMsby calculating the cursor speed to determine intent.FloatingListanduseListItemexportsThis enables easy creation of composable children APIs without needing to map
childrenand passing anindexas a prop — including the ability to nest items in another tag or component.
Bug Fixes
useClick: Ignore Space
keyupif Spacekeydownon same element did not precede ituseDelayGroupContext:
isInstantPhasebool sometimes being incorrectlyfalseFloatingPortal: Adjust cleanup strategy to better work with
React.StrictModeand conditional rendering
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.