Packages

@floating-ui/react

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

Your version

0.27.7

10 Apr 2025Where it was published

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 FloatingFocusManager initialFocus is not in use

  • useHover: Clean up blockPointerEvents when opened with click after hover

  • useRole: Improve "combobox" role

  • useRole: Handle custom id attributes

  • Experimental NextFloatingDelayGroup (and useNextFloatingDelayGroup). Unlike FloatingDelayGroup, 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 for FloatingDelayGroup in 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 delay

  • useFloating: Refactor events emitter

  • FloatingFocusManager: Ensure floating elements with no tabbable content are assigned tabIndex=0 when initialFocus is -1

  • useListNavigation: 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.