@floating-ui/react
0.27.20 · 11 Jul 2026MIT34.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @floating-ui/react From 0.26.19 to 0.27.20
30 releases in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 20
- new
- 79
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.27.0
- Deprecated0.27.0
Release by release
- Fixed
Remove redundant passive options from scroll listeners
- Fixed
Support explicit
undefinedfor optional properties withexactOptionalPropertyTypes
- Fixed
- Fixed
useDismiss: Ignore non-primary inside mouse presses for click outside dismissal
- Fixed
react: Fix shadow root host lookup when one of the parent elements is an anchor
- Fixed
- Fixed
FloatingFocusManager: Use
WeakReffor previously focused elements
- Fixed
- New
detectOverflow configurable via platform
- Fixed
FloatingPortal: Ensure accessibility of non-modal dialogs with iOS/Safari/Voice Control
- New
0.27.15 – 0.27.162 releases, nothing new or fixed in the notes
- New
FloatingPortal: Support
ShadowRootcontainers - Fixed
FloatingFocusManager: Allow marking ancestor nodes with
data-floating-ui-inert. Fixes outside presses not working when clicking on a parent ancestor node. - Fixed
useRole: Ensure
aria-selected=trueis present without being active withselectrole - Fixed
Only use blur capture to mark inside floating tree if
FloatingPortalexists. Prevents blockingcloseOnFocusOutbehavior. - Fixed
FloatingFocusManager: Clear previously focused elements that are disconnected more often
- New
- Fixed
FloatingFocusManager: Ensure focus is always returned correctly in deep nested trees
- Fixed
markOthers: Exclude elements with
role="status"andoutputelements
- Fixed
- Fixed
FloatingFocusManager: Ensure
aria-hidden/inertare cleaned up correctly when mixingoutsideElementsInerttrue/false - Fixed
safePolygon: Revert to checking if any nested child is open
- Fixed
15 internal lines (docs, tests, tooling) left out.
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.