NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #1724 most downloaded on npm
Tooltip and Popover Positioning Engine
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 3 weeks to 8 months
Rarely documented
notes for 11 of 53 stable releases
1 version withdrawn
withdrawn after publishing
7 years old
75 releases · first in 2019
Nothing published for this version
fix: Use correct window to get the devicePixelRatio #2229
fix: position in Safari when pinch-zooming using fixed strategy
fix: position in Safari when pinch-zooming using fixed strategy
fix: avoid Chrome DevTools warning about userAgent usage
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
refactor: improve types and internal codebase consistency. All documented types are now exported.
feat: support dependency array as a second argument of all middleware. This ensures stateful options can be kept reactive when making them derived (pa
const [value, setValue] = React.useState(0);
const offset1 = offset(value); // reactive
const offset2 = offset(() => value); // NOT reactive
const offset3 = offset(() => value, [value]); // reactive
This also includes size's apply function:
size(
{
apply() {
value; // reactive
},
},
[value],
);
d3a773b: fix: make whileElementsMounted reactive with respect to changing from a function to undefined
whileElementsMounted reactive with respect to changing from a function to undefined4c04669: chore: export .d.mts types, solves #2472
9d22d831: fix: package type import
c1965f65: refactor: minor jsdoc/type improvements
fix(types): import types from dom instead of core
dom instead of core (#2513)fix: adjust types for new function options feature in core/dom 1.3.0
core/dom 1.3.0 (#2359)undefined for optional properties with exactOptionalPropertyTypes@floating-ui/dom@1.8.0, @floating-ui/utils@0.2.12This release aims to simplify the API and remove some deprecated properties. If you've been using the refs.set* functions since their addition in Janu…
This release aims to simplify the API and remove some deprecated properties. If you've been using the refs.set* functions since their addition in January (1.2.0), then you can freely upgrade without changing any of your code.
Default x and y coordinates to 0 instead of null (#2300)
isPositioned lets you know if the floating element has been positioned.
Remove deprecated top-level reference and floating ref setters (#2300)
These are in the refs object:
reference -> refs.setReferencefloating -> refs.setFloatingwhileElementsMounted type requires cleanup function (#2300)
feat: floatingStyles object (#2300)
Pre-configured positioning styles for the majority of cases:
const {refs, floatingStyles} = useFloating();
return <div ref={refs.setFloating} style={floatingStyles} />;
feat: external element synchronization in the hook (#2300)
Avoid using layout effects:
const {refs} = useFloating({
elements: {
// Either can be specified optionally
reference: referenceElement,
floating: floatingElement,
},
});
// refs.setReference / refs.setFloating can be mix and matched
null for arrow's element option (#2300)vue-demi package (see Deprecation Warning), ending support for Vue 2 and Vue <3.3.0Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →