# What changed in @floating-ui/dom

> 12 changes in @floating-ui/dom 1 from its official release notes, upgrade guides and advisories: 2 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/@floating-ui/dom/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @floating-ui/dom 1

### New APIs and options

- 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.0) — [release notes](https://github.com/floating-ui/floating-ui/releases/tag/%40floating-ui/dom%401.8.0)
- Allows calling autoUpdate without passing a floating element. (1.7.6) — [release notes](https://github.com/floating-ui/floating-ui/releases/tag/%40floating-ui/dom%401.7.6)

### Performance

- Reduces bundle size and skips redundant per-call work. (1.8.0) — [release notes](https://github.com/floating-ui/floating-ui/releases/tag/%40floating-ui/dom%401.8.0)
- Includes bundle and runtime improvements. (1.7.6) — [release notes](https://github.com/floating-ui/floating-ui/releases/tag/%40floating-ui/dom%401.7.6)

### Fixes and other changes

- Updates immediately when the reference moves during an observer refresh instead of waiting for the 1s layoutShift refresh throttle. (1.8.0) — [release notes](https://github.com/floating-ui/floating-ui/releases/tag/%40floating-ui/dom%401.8.0)
- Refreshes the layout shift observer when the root resizes. (1.8.0) — [release notes](https://github.com/floating-ui/floating-ui/releases/tag/%40floating-ui/dom%401.8.0)
- Supports explicit undefined for optional properties when exactOptionalPropertyTypes is enabled. (1.8.0) — [release notes](https://github.com/floating-ui/floating-ui/releases/tag/%40floating-ui/dom%401.8.0)
- Corrects clipping-ancestor filtering for fixed-position elements. (1.8.0) — [release notes](https://github.com/floating-ui/floating-ui/releases/tag/%40floating-ui/dom%401.8.0)
- Accounts for space reserved by scrollbar-gutter: stable both-edges. (1.8.0) — [release notes](https://github.com/floating-ui/floating-ui/releases/tag/%40floating-ui/dom%401.8.0)
- Prevents the viewport rectangle from overflowing past a left-side document scrollbar. (1.8.0) — [release notes](https://github.com/floating-ui/floating-ui/releases/tag/%40floating-ui/dom%401.8.0)
- Avoids throwing when inline() is used with a virtual element that lacks a getClientRects method. (1.8.0) — [release notes](https://github.com/floating-ui/floating-ui/releases/tag/%40floating-ui/dom%401.8.0)
- The Platform type now contains the detectOverflow type. (1.7.6) — [release notes](https://github.com/floating-ui/floating-ui/releases/tag/%40floating-ui/dom%401.7.6)
