unstale

npm / @floating-ui/dom

@floating-ui/dom

What changed in @floating-ui/dom 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

2 new APIs and options2 performance8 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.1.1 on npm

@floating-ui/dom 112 changes

New APIs and options 2

  • Adds the layoutViewport string option, which stays stable during pinch-zooming and when a mobile software keyboard is open, and accounts for space reserved by scrollbar-gutter: stable.

    1.8.0release notes

  • Allows calling autoUpdate without passing a floating element.

    1.7.6release notes

Performance 2

  • Reduces bundle size and skips redundant per-call work.

    1.8.0release notes

  • Includes bundle and runtime improvements.

    1.7.6release notes

Fixes and other changes 8

  • Updates immediately when the reference moves during an observer refresh instead of waiting for the 1s layoutShift refresh throttle.

    1.8.0release notes

  • Refreshes the layout shift observer when the root resizes.

    1.8.0release notes

  • Supports explicit undefined for optional properties when exactOptionalPropertyTypes is enabled.

    1.8.0release notes

  • Corrects clipping-ancestor filtering for fixed-position elements.

    1.8.0release notes

  • Accounts for space reserved by scrollbar-gutter: stable both-edges.

    1.8.0release notes

  • Prevents the viewport rectangle from overflowing past a left-side document scrollbar.

    1.8.0release notes

  • Avoids throwing when inline() is used with a virtual element that lacks a getClientRects method.

    1.8.0release notes

  • The Platform type now contains the detectOverflow type.

    1.7.6release notes