Packages

@floating-ui/dom

1.8.0 · 11 Jul 2026MIT149.8M / weekRepositoryHomepagenpmAtom feed

Upgrading @floating-ui/dom From 1.6.5 to 1.8.0

16 releases in betweenevery note read

  1. 1.6.5yours
  2. 15 releases
  3. 1.8.0target
0
changes to make
0
advisories fixed
6
new
18
fixes

Release by release

  1. 1.8.0

    11 Jul 20262 new · 8 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

      dom: Reduce bundle size and skip redundant per-call work in positioning utilities

    • Fixed

      Remove redundant passive options from scroll listeners

    • Fixed

      Support explicit undefined for optional properties with exactOptionalPropertyTypes

  2. 1.7.6

    3 Mar 20262 new · 1 fix
    • New

      Bundle and runtime improvements

    • New

      autoUpdate: Allow not passing a floating element

    • Fixed

      types: Ensure Platform type contains detectOverflow type

  3. 1.7.5nothing new or fixed in the note

  4. 1.7.4

    21 Aug 20251 fix
    • Fixed

      getViewportRect: Account for space left by scrollbar-gutter: stable

  5. 1.7.3nothing new or fixed in the note

  6. 1.7.2

    28 Jun 20251 new
    • New

      Reduce memory allocations

  7. 1.7.1nothing new or fixed in the note

  8. 1.7.0

    2 May 20251 new · 1 fix
    • 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).

    • Fixed

      Correct position when document scrollbar is on left side with fixed strategy

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