Packages

@floating-ui/core

1.8.0 · 11 Jul 2026MIT130.1M / weekRepositoryHomepagenpmAtom feed

Upgrading @floating-ui/core From 1.2.0 to 1.8.0

32 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 1.2.0yours
  2. 31 releases
  3. 1.8.0target

Before you upgrade

Tick each one off as you go
  • deprecated1.2.1

Release by release

  1. 1.8.0

    11 Jul 20262 new · 3 fixes
    • new

      Add 'layoutViewport' string option to rootBoundary. Unlike the visual 'viewport' boundary, it remains stable while pinch-zooming or when a mobile software keyboard is open, and unlike a manually passed Rect of the documentElement's client size, it accounts for space reserved by scrollbar-gutter: stable.

    • new

      core: Reduce bundle size with behavior-identical middleware simplifications

    • fixed

      inline: no-op on empty client rects and detect RTL disjoined line rects

    • fixed

      Support explicit undefined for optional properties with exactOptionalPropertyTypes

    • fixed

      size: Correctly compute available size for centered elements overflowing both sides

  2. 1.7.5

    3 Mar 20261 new
    • new

      Bundle and runtime improvements

  3. 1.7.4

    27 Jan 20261 new
    • new

      detectOverflow configurable via platform

  4. 1.7.3

    30 Jul 20251 fix
    • fixed

      flip: Ensure perpendicular axis flips with crossAxis alignment

  5. 1.7.2

    28 Jun 20251 new
    • new

      Reduce memory allocations

  6. 1.7.1

    2 Jun 20251 fix
    • fixed

      flip: Only allow fallback to the perpendicular axis if all placements on the preferred side axis overflow the main axis with crossAxis: 'alignment'

  7. 1.7.0

    2 May 20251 new
    • new

      flip: Add "alignment" string value for crossAxis option. This value determines if cross axis overflow checking is restricted to the alignment of the placement only. This prevents fallbackPlacements/fallbackAxisSideDirection from too eagerly changing to the perpendicular side (thereby preferring shift() if overflow is detected along the cross axis, even if shift() is placed after flip() in the middleware array).

  8. 1.6.9nothing new or fixed in the note

17 internal lines (docs, tests, tooling) left out.