Packages

@floating-ui/react

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

Upgrading @floating-ui/react From 0.26.28 to 0.27.20

21 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 0.26.28yours
  2. 0.27.0major
  3. 19 releases
  4. 0.27.20target

Before you upgrade

Tick each one off as you go
  • Breaking0.27.0
  • Deprecated0.27.0

Release by release

  1. 0.27.20

    11 Jul 20262 fixes
    • Fixed

      Remove redundant passive options from scroll listeners

    • Fixed

      Support explicit undefined for optional properties with exactOptionalPropertyTypes

  2. 0.27.19

    3 Mar 20262 fixes
    • 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

  3. 0.27.18

    17 Feb 20261 fix
    • Fixed

      FloatingFocusManager: Use WeakRef for previously focused elements

  4. 0.27.17

    27 Jan 20261 new · 1 fix
    • New

      detectOverflow configurable via platform

    • Fixed

      FloatingPortal: Ensure accessibility of non-modal dialogs with iOS/Safari/Voice Control

  5. 0.27.15 – 0.27.162 releases, nothing new or fixed in the notes

  6. 0.27.14

    27 Jul 20251 new · 4 fixes
    • New

      FloatingPortal: Support ShadowRoot containers

    • 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=true is present without being active with select role

    • Fixed

      Only use blur capture to mark inside floating tree if FloatingPortal exists. Prevents blocking closeOnFocusOut behavior.

    • Fixed

      FloatingFocusManager: Clear previously focused elements that are disconnected more often

  7. 0.27.13

    28 Jun 20252 fixes
    • Fixed

      FloatingFocusManager: Ensure focus is always returned correctly in deep nested trees

    • Fixed

      markOthers: Exclude elements with role="status" and output elements

  8. 0.27.12

    2 Jun 20252 fixes
    • Fixed

      FloatingFocusManager: Ensure aria-hidden/inert are cleaned up correctly when mixing outsideElementsInert true/false

    • Fixed

      safePolygon: Revert to checking if any nested child is open

10 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.