Packages

@floating-ui/react

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

Your version

0.27.6

2 Apr 2025Where it was published

0.27.20 is the newest release of 0.27.x.

In short

1 new6 fixed

Release note

Patch Changes

  • useFloating: Prevent error when using inline middleware when passing a real DOM element to refs.setPositionReference due to element.getClientRects() not being handled

  • Avoid marking root ancestor combobox with aria-hidden when nested virtual floating element opens

  • FloatingFocusManager: Set inert attribute value to empty string instead of "true"

  • FloatingFocusManager: Correct tabbing to different document contexts

  • useClick: Fix toggle behavior with Enter key when reference element is anchor

  • FloatingFocusManager: getInsideElements prop. Allows you to specify elements that are considered as "inside" the floating element. These will avoid being marked with aria-hidden and data-floating-ui-inert attributes.

  • useFocus: Improve :focus-visible checks

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.