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 atomiks almost 3 years ago

Patch Changes

  • fix(limitShift): crossAxis offset (#1457)
  • fix(size): center alignment along crossAxis (#1459)
  • fix(autoPlacement): better algo (#1458)
    • 🚨 Removed crossAxis option as a result
  • refactor(offset): use Options instead of Offset type
  • perf(core): add pure annotation for allPlacements const (#1437)
  • fix: more helpful platform error (#1449)
  • perf: import math fns from utils
floating-ui - 2021-12-11

Published by atomiks almost 3 years ago

@floating-ui/core

0.2.1

Patch Changes

  • perf: save some bytes and execution
  • fix: CJS build

@floating-ui/dom

0.1.7

Patch Changes

  • fix: transformed body (#1427)
  • fix(types): strict DOM types (#1432)
  • fix: scaled parent (#1435, #1436)
  • fix: CJS build
  • perf: save some bytes and execution
  • Updated dependencies

@floating-ui/react-dom

0.3.3

Patch Changes

  • fix(types): arrowRef type
  • fix: CJS build
  • Updated dependencies

@floating-ui/react-native

0.3.3

Patch Changes

floating-ui - v2.11.0

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

New Features

  • Allow SVG elements as boundary (#1405)

Bug Fixes

  • fix(computeStyles): adaptive option with fixed strategy on mobile (#1398)

  • fix(getClippingRect): check position of clipping parent (#1399)

  • fix(computeStyles): subpixel misalignment with round function (#1400)

  • fix(preventOverflow): altAxis + tether (#1401)

  • fix: handle scaled parent elements (#1402)

  • Exposes OffsetsFunction type (#1411)

floating-ui - v2.10.2

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

Bug Fixes

  • Fixes issue with elements of non-integer sizes (#1351 (comment)) (#1380)
floating-ui - v2.10.1

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

Bug Fixes

  • Adaptive option now takes in account placement variations (#1360)

  • Avoid using scrollHeight/scrollWidth when the position is fixed and when the offsetParent is the window (#1356)

  • Support monitors with DPI higher than 1 but minor than 2 (#1308)

  • Revert module export map (#1362)

floating-ui - v2.10.0

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

New Features

  • The module now defines an exports map to better work on different environments (#1342) (#1359)

  • Allow to use a callback as setOptions value (#1352) (#1359)

Bug Fixes

  • Incorrect position when offsetWidth/height is 0 (#1353) (#1359)
floating-ui - v2.9.3

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

Bug Fixes

  • Handle scaled parent elements (#1247)
floating-ui - v2.9.2

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

Bug Fixes

  • fixing invalid containing block calculation on IE for fixed strategy (#1268)
floating-ui - v2.9.1

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

Bug Fixes

  • Replace includes with indexOf (#1264)

  • Upgraded flow-to-ts to get rid of the remaining of the TS specific workarounds (#1262)

floating-ui - v2.9.0

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

Refactors

  • Upgraded flow-to-ts in order to remove some TS-specific workarounds. (#1260)

Bug Fixes

  • Fixed issue with sub pixels (#1261)
floating-ui - v2.8.6

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

Bug Fixes

  • pixel positioning on particular edge cases (#1256)
floating-ui - v2.8.5

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

Bug Fixes

  • getWindow doesn't error if a null node is provided (#1258)
floating-ui - v2.8.4

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

Bug Fixes

  • Arrow padding function was called with outdated arguments (#1255)
floating-ui - v2.8.3

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

Bug Fixes

  • Compatibility issue with IE11 (#1253)
floating-ui - v2.8.2

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

Bug Fixes

  • Install issue (#1251)
floating-ui - v2.8.1

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

Performance Improvements

  • Reduced lib size (a bit) (#1249)
floating-ui - v2.8.0

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

New Features

  • Now you can pass a function to the arrow padding option (#1245)

Bug Fixes

  • preventOverflow tether option would be ignored if altAxis was set to true (#1248)

  • Margin-styling no longer lingers on element after popper instance is destroyed (#1246)

floating-ui - v2.7.2

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

Bug Fixes

  • Fix getOffsetParent with will-change property (#1244)
floating-ui - v2.7.1

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

Bug Fixes

  • Fixed a regression introduced in the previous version relative to element.ownerDocument being undefined (#1243)

  • Improvements where HTML element has relative position (#1148)

  • issue with Shadow DOM detection and Anchor elements (#1240)

floating-ui - v2.7.0

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

New Features

  • Improve computeStyles modifier with customize roundOffsets support (#1213)

Bug Fixes

  • Checking wether element is <body> by using ownerDocument.body instead of tagName (#1226)