@floating-ui/core
1.8.0 · 11 Jul 2026MIT130.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @floating-ui/core From 1.7.2 to 1.8.0
4 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- new
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. - new
core: Reduce bundle size with behavior-identical middleware simplifications
- fixed
inline: no-op on empty client rects and detect RTL disjoined line rects
- fixed
Support explicit
undefinedfor optional properties withexactOptionalPropertyTypes - fixed
size: Correctly compute available size for centered elements overflowing both sides
- new
- new
Bundle and runtime improvements
- new
- new
detectOverflow configurable via platform
- new
- fixed
flip: Ensure perpendicular axis flips with crossAxis alignment
- fixed
2 internal lines (docs, tests, tooling) left out.