npm / @floating-ui/core
@floating-ui/core
What changed in @floating-ui/core 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.
1 new APIs and options2 performance3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@floating-ui/core 16 changes
New APIs and options 1
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.
Performance 2
Reduces bundle size through behavior-identical middleware simplifications.
Bundle and runtime performance improvements may benefit developers using the package.
Fixes and other changes 3
Supports explicit undefined for optional properties when exactOptionalPropertyTypes is enabled.
No-ops on empty client rects and detects RTL disjoined line rects.
Correctly computes available size for centered elements overflowing both sides.