@floating-ui/core
1.8.0 · 11 Jul 2026MIT130.1M / weekRepositoryHomepagenpmAtom feed
In short
1 new1 faster3 fixed1 internal
Release note
Minor Changes
Add
'layoutViewport'string option torootBoundary. Unlike the visual'viewport'boundary, it remains stable while pinch-zooming or when a mobile software keyboard is open, and unlike a manually passedRectof the documentElement's client size, it accounts for space reserved byscrollbar-gutter: stable.
Patch Changes
inline: no-op on empty client rects and detect RTL disjoined line rects
Support explicit
undefinedfor optional properties withexactOptionalPropertyTypessize: Correctly compute available size for centered elements overflowing both sides
core: Reduce bundle size with behavior-identical middleware simplifications