Packages

@floating-ui/core

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

Your version

0.7.0

7 May 2022Where it was published

0.7.3 is the newest release of 0.7.x.

In short

1 breaking1 new1 fixed2 internal

  • breaking

    In both the size() and offset() middleware, the reference and floating top-level parameters are now namespaced under rects — rects.reference and rects.floating.

Release note

New Features

  • Added "browser" export conditions

    BREAKING: removed the previous "production" and "development" export conditions. The new "browser" key is a replacement for this. See Package entry points.

Refactors

  • breaking

    In both the size() and offset() middleware, the reference and floating top-level parameters are now namespaced under rects — rects.reference and rects.floating.

    The entire MiddlewareArguments object gets spread in, so there's more data to access if needed.

Bug Fixes

  • arrow: Fallback to the floating element as the offsetParent

    React Native / other platforms that do not implement getOffsetParent