floating-ui

A JavaScript library to position floating elements and create interactions for them.

MIT License

Downloads
202.3M
Stars
28.6K
Committers
104

Bot releases are visible (Hide)

floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] almost 3 years ago

New Features

  • Expand export map conditions (#1502)

    Fork import condition to include development, production and default. The default listing continues to point to the "esm" build while the development listing points to a development build that no longer includes process.env usage in favor of always stepping through logging code paths and the production listing surfaces the library in a minified state, without any logging code.

  • JSDoc comments on exports for IntelliSense (#1508)

  • Update UMD build to always include logging code (#1502)

floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] almost 3 years ago

Bug Fixes

  • Cleanup animationFrames array (#1500)
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] almost 3 years ago

Bug Fixes

  • isMountedRef boolean update (#1500)
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] almost 3 years ago

Bug Fixes

  • Avoid bundling in core package by referring to the CJS build (#1499)

  • Stale computePosition calls by cleaning up animation frames (#1499)

  • isMountedRef boolean update (#1499)

floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] almost 3 years ago

Bug Fixes

  • Unmounted component warning (#1495)
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] almost 3 years ago

Bug Fixes

  • Unmounted component warning (#1495)
floating-ui - @popperjs/[email protected]

Published by FezVrasta almost 3 years ago

floating-ui - @popperjs/[email protected]

Published by FezVrasta almost 3 years ago

Note: 2.11.1 has a wrong dependency in its package.json, 2.11.2 was released to fix it

Bug Fixes

  • Round computed offsets after all the modifiers math is executed (#1418)

  • Fix regression with detection of clipping boundaries (#1478)

floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] almost 3 years ago

Bug Fixes

  • limitShift adds offset middleware correctly (#1483)
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] almost 3 years ago

Bug Fixes

  • Refresh arrow middleware options on update (#1481)
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] almost 3 years ago

Bug Fixes

  • Refresh arrow middleware options on update (#1481)
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] almost 3 years ago

Bug Fixes

  • Fix detection of clipping boundaries with certain DOM layouts (#1479)

  • Fix positioning in cases when pinch-zoomed in Firefox (#1480)

floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] almost 3 years ago

Refactors

  • Prevent the need to call update() when middleware changes, improved Fast Refresh/dev experience (#1469)

Bug Fixes

  • Export common types (#1468)
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] almost 3 years ago

Refactors

  • Prevent the need to call update() when middleware changes, improved Fast Refresh/dev experience (#1469)

Bug Fixes

  • Export common types (#1468)
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] almost 3 years ago

Bug Fixes

  • Export common types (#1468)
floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] almost 3 years ago

New Features

  • Expose options on Middleware objects (#1469)

  • New inline middleware (#1431)

  • Expose shift amount data (#1475)

Refactors

  • BREAKING CHANGE: A custom shift limiter option must now be an object in the shape {fn, options}, not a plain function. This won't affect you if you were using the built-in/core limitShift export. (#1469)

Bug Fixes

  • TypeScript improvements (#1468)

  • limitShift offset limitMax sign (#1471)

floating-ui - @floating-ui/[email protected]

Published by github-actions[bot] almost 3 years ago

Bug Fixes

  • bundle in @floating-ui/core package (#1464)
floating-ui - @floating-ui/[email protected]

Published by atomiks almost 3 years ago

Patch Changes

  • perf(core): add pure annotation for allPlacements const by @webistomin in #1437
  • Updated dependencies
floating-ui - @floating-ui/[email protected]

Published by atomiks almost 3 years ago

Patch Changes

  • fix(react-dom): arrow element TS definition (#1452)
  • Updated dependencies
floating-ui - @floating-ui/[email protected]

Published by atomiks almost 3 years ago

Patch Changes

  • perf: import math fns from utils
  • refactor(dom): use === instead of isSameNode (#1443)
  • Updated dependencies