Packages

@floating-ui/react

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

Your version

0.18.0

16 Jan 2023Where it was published

0.27.20 is the newest release of 0.18.x.

In short

1 new6 fixed

Release note

New Features

  • useDelayGroupContext: Return isInstantPhase boolean for conditionally applying fast transition durations with useTransition hooks

Bug Fixes

  • Avoid arrow re-export collision

  • safePolygon: Destroy polygon once cursor is over floating element rect when it overlaps it

  • FloatingDelayGroup: Simplify usage by syncing current id internally

    You no longer need to wrap your onOpenChange callback or use setCurrentId from the delay context.

    Usage can just be:

    onOpenChange: setOpen,
  • useHover: Prevent clearing a delay timeout unexpectedly if requesting an open while an unmount is in transition

  • Improve useDismiss bubbles logic for nested floating elements

  • Avoid useFloating re-export collision

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.