floating-ui-vue-skilld
floating-ui/floating-ui @floating-ui/vue@1.1.11
Tags: latest: 1.1.11
References: Docs
API Changes
This section documents version-specific API changes for @floating-ui/vue — prioritize the v1.0.0 major release and subsequent minor updates.
-
BREAKING:
xandycoordinates now default to0instead ofnullsince v1.0.0. UseisPositionedto check if layout is ready source -
NEW:
floatingStyles— Returns a pre-configuredstyleobject for the floating element (position, top, left, transform) since v1.0.0 source -
NEW:
MaybeReadonlyRefOrGetter—useFloatingoptions now support getters (e.g.,() => props.placement) and refs since v1.1.0 source -
NEW:
isPositioned— Boolean ref returned byuseFloatingthat indicates if the floating element has been positioned since v0.2.0 source -
NEW:
openoption — Optional boolean ref inuseFloatingto synchronizeisPositionedwith the element's open state since v0.2.0 source -
IMPROVED:
ArrowOptions.element— Widened type toMaybeElement<Element>to improve compatibility with Vue Template Refs since v1.0.2 source