# What changed in @floating-ui/core

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

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

## @floating-ui/core 1

### New APIs and options

- Adds the layoutViewport string option, which stays stable during pinch-zooming or 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/core%401.8.0)

### Performance

- Reduces bundle size through behavior-identical middleware simplifications. (1.8.0) — [release notes](https://github.com/floating-ui/floating-ui/releases/tag/%40floating-ui/core%401.8.0)
- Bundle and runtime performance improvements may benefit developers using the package. (1.7.5) — [release notes](https://github.com/floating-ui/floating-ui/releases/tag/%40floating-ui/core%401.7.5)

### Fixes and other changes

- 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/core%401.8.0)
- No-ops on empty client rects and detects RTL disjoined line rects. (1.8.0) — [release notes](https://github.com/floating-ui/floating-ui/releases/tag/%40floating-ui/core%401.8.0)
- Correctly computes available size for centered elements overflowing both sides. (1.8.0) — [release notes](https://github.com/floating-ui/floating-ui/releases/tag/%40floating-ui/core%401.8.0)
