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 - v1.10.1

Published by FezVrasta over 7 years ago

  • [refactor]: Standardize call to getClientRect before modifiers
  • [feature] Added offset origin options
    • Separated applyStyle in two modifiers: applyStyle and computeStyle
    • Added x and y options to computeStyle to allow to set the offset origin
floating-ui - v1.9.9

Published by FezVrasta over 7 years ago

  • [fix] Fixed #288 (v1.9.9)
floating-ui - v1.9.8 + Tooltip.js 1.1.4

Published by FezVrasta over 7 years ago

Popper.js

  • [fix] Auto placement computation (#284)

Tooltip.js

  • [fix] Modifiers options override (fix #278) (#285)
floating-ui - v1.9.7

Published by FezVrasta over 7 years ago

  • [fix] Fixed #224 (#283)
floating-ui - v1.9.6

Published by FezVrasta over 7 years ago

  • [fix] Fix rounding of arrow offset (#279)
floating-ui - v1.9.5

Published by FezVrasta over 7 years ago

  • [fix] Preserve position after flip
floating-ui - v1.9.4

Published by FezVrasta over 7 years ago

  • [fix] Problem when poppers were positioned outside of document, thus enlarging its scrollSize and breaking computations (fix #251)

Tooltip.js 1.1.3

  • Minor bug fixes on dispose method and the template option.
floating-ui - v1.9.3

Published by FezVrasta over 7 years ago

[fix] Fixed issue #256 (#259)

floating-ui - v1.9.2

Published by FezVrasta over 7 years ago

  • [refactor] Cleanup unused position properties and arguments
floating-ui - v1.9.1

Published by FezVrasta over 7 years ago

  • [fix] Return the position inside the popper offsets
floating-ui - v1.9.0

Published by FezVrasta over 7 years ago

  • [feature] Allow math operations in offset modifier (#229)

DEPRECATION:
A pair of offset values 10px 10px separated by whitespaces is now deprecated, use a comma instead (10px, 10px).
The old way will still work but will throw a warning.

floating-ui - v1.8.6

Published by FezVrasta over 7 years ago

  • [fix] Make bundle.js work on Windows (fix #243)
    -[fix] support poppers that are children of their relatively positioned reference (#237)
floating-ui - v1.8.5

Published by FezVrasta over 7 years ago

  • [fix] expectation of window being defined at import time (#242)
  • [update] Renamed modifier.function to modifier.fn (still backward compat) (#225)
  • [fix] Cache isIE10 value and call it on runtime (#240)
floating-ui - v1.8.4

Published by FezVrasta over 7 years ago

  • [fix] Make auto placement use flip.boundariesElement (#232)
floating-ui - v1.8.3

Published by FezVrasta over 7 years ago

  • [fix] Allow negative %/vh/vw offsets (#227)
floating-ui - v1.8.2

Published by FezVrasta over 7 years ago

  • [fix] Transpile to ES5 the module bundle (#220)
floating-ui - v1.8.1

Published by FezVrasta over 7 years ago

  • [fix] html margin problems reported in #211
floating-ui - v1.8.0

Published by FezVrasta over 7 years ago

  • [feature] Added counter/clockwise flip behaviors (fix #167)
floating-ui - v1.7.0

Published by FezVrasta over 7 years ago

BREAKING CHANGE: We have reduced the size of Popper.js removing the Popper.Utils methods from the basic bundle. If you need them, you can still import popper-utils.js before popper.js and they will be available again. But we suggest to directly use the PopperUtils object exported by popper-utils.js because we may deprecate Popper.Utils in the future major versions of Popper.js.

We haven't followed semver in this case because Popper.Utils weren't so much used and we support a drop-in replacement that makes it super easy to upgrade.

Along with this change, we reduced the size of the bundle a bit more cleaning some code and we refactored our build process to make it easier to maintain and run.

We also released Tooltip.js v1.1.0 to address the breaking change mentioned previously.

floating-ui - v1.6.0

Published by FezVrasta over 7 years ago

This release adds a way to provide an object instead of a reference DOM node. More info at #193