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 hidden (Show)

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

Published by atomiks 10 months ago

Patch Changes

  • fix: remove react peer dependency
floating-ui - @floating-ui/[email protected]

Published by atomiks about 1 year ago

Patch Changes

  • 8bf6e826: fix(Composite): loop false
  • 8d576645: feat(useListNavigation): support nested virtual navigation
floating-ui - @floating-ui/[email protected]

Published by atomiks about 1 year ago

Features

  • feat: add Composite components

Bug Fixes

  • fix(FloatingOverlay): avoid applying body padding if scrollbarWidth is 0
floating-ui - @popperjs/core v2.11.8

Published by FezVrasta about 1 year ago

floating-ui - @popperjs/[email protected]

Published by FezVrasta over 1 year ago

Bug Fixes

  • fix: Use correct window to get the devicePixelRatio #2229
floating-ui -

Published by FezVrasta about 2 years ago

Bug Fixes

floating-ui - v2.11.5

Published by FezVrasta over 2 years ago

Bug Fixes

  • fix(types): Constrain Modifier Options to same type as Options in ModifierArguments #1598
floating-ui - v2.11.4

Published by FezVrasta over 2 years ago

Fixes

  • Fixed an issue with the postinstall script
floating-ui - v2.11.3

Published by atomiks over 2 years ago

Bug Fixes

  • Fixes a placement issue that is caused when the starting offset parent element is inside shadow DOM. (#1535)

  • Positioning using strategy fixed when inside a containing block (#1579)

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 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
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.4.0

Published by FezVrasta over 4 years ago

  • feat: mainAxis and altAxis options for the "flip" modifier

    These two new options allow to specify which axes the "flip" modifier will check when it
    needs to decide to flip the popper element.

floating-ui - v2.3.3

Published by FezVrasta over 4 years ago

  • fix(types): arrowModifier's element option now allows to be set to null to help with 3rd party integrations/wrappers;
floating-ui - v2.3.2

Published by FezVrasta over 4 years ago

  • fix: improved Flow and TS types;
  • fix: issues with viewport measuring on non-iOS devices;
floating-ui - v2.3.1

Published by FezVrasta over 4 years ago

  • fix(flow): problem with the re-export of the types for the CJS builds;