Packages

@floating-ui/react

0.27.20 · 11 Jul 2026MIT34.1M / weekRepositoryHomepagenpmAtom feed

Your version

0.23.0

10 Apr 2023Where it was published

0.27.20 is the newest release of 0.23.x.

In short

2 new3 fixed

Release note

New Features

  • safePolygon: Replace restMs option with requireIntent boolean option

    When multiple reference elements next to each other have hoverable floating elements, requireIntent (true by default) ensures the triangle polygon does not block hover events too aggressively compared to restMs by calculating the cursor speed to determine intent.

  • FloatingList and useListItem exports

    This enables easy creation of composable children APIs without needing to map children and passing an index as a prop — including the ability to nest items in another tag or component.

Bug Fixes

  • useClick: Ignore Space keyup if Space keydown on same element did not precede it

  • useDelayGroupContext: isInstantPhase bool sometimes being incorrectly false

  • FloatingPortal: Adjust cleanup strategy to better work with React.StrictMode and 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.