Packages

@floating-ui/core

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

Your version

1.8.0

latest11 Jul 2026Where it was published

In short

1 new1 faster3 fixed1 internal

Release note

Minor Changes

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

Patch Changes

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

  • Support explicit undefined for optional properties with exactOptionalPropertyTypes

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

  • core: Reduce bundle size with behavior-identical middleware simplifications