@floating-ui/react
0.27.20 · 11 Jul 2026MIT34.1M / weekRepositoryHomepagenpmAtom feed
0.27.20 is the newest release of 0.18.x.
In short
1 new6 fixed
Release note
New Features
useDelayGroupContext: Return
isInstantPhaseboolean for conditionally applying fast transition durations withuseTransitionhooks
Bug Fixes
Avoid
arrowre-export collisionsafePolygon: 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
onOpenChangecallback or usesetCurrentIdfrom 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
useDismissbubbles logic for nested floating elementsAvoid
useFloatingre-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.