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 - v2.6.0

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

https://app.circleci.com/pipelines/github/SironaMedical/services-frontend/4151/workflows/97d270ae-c712-4147-9900-4780f92693ff

New Features

  • Add roundOffsets option to computeStyles modifier (#1193)

Refactorings

  • Upgrade flow to 0.139 (#1197)

  • Resolve all flow warnings (#1197)

floating-ui - v2.5.4

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

Bug Fixes

  • Added a check that getRootNode is not undefined. (#1185)
floating-ui - v2.5.3

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

Bug Fixes

  • improve shadow root detection (#1166)
floating-ui - v2.5.2

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

Bug Fixes

  • Added check for rootNode before performing other actions on the object (#1174)
floating-ui - v2.5.1

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

Bug Fixes

  • patch-package was trying to run on consumers installations (#1177)

    we now run it on prepare

floating-ui - v2.5.0

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

Refactorings

  • restructure to make more tree-shakable without importing built code (#1162)

Bug Fixes

  • Fixes exceptions when iframes containing popper targets are removed. (#1157)

  • fix generated typescript definition (#1150)

  • Added fallback to window.document for getDocumentElement (#1151)

floating-ui - v2.4.4

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

Bug Fixes

  • Exclude reference element from scroll parents list (#1147)
floating-ui - v2.4.3

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

Bug Fixes

  • Fix path issue with TS builds (#1144)

  • remove body as a clippingParent (#1142)

  • Improve error message for issue reported in #1133 (#1143)

  • Export detectOverflow utility from all the dist targets. (#1140)

  • Issue when position: relative is given to `html> element (#1141)

floating-ui - v2.4.2

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

Bug Fixes

  • Fix infinite loop if popper is an unmounted element (#1128) (#1129)
floating-ui - v2.4.1

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

Bug Fixes

  • Fixed problem with offset parents generated by "transform" CSS properties. (#1115) (#1123)

  • Fixed issue with parent tables with position different than "initial" (#1124) (#1125)

  • fixed issue with viewport size detection on iOS (#1099)

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;
floating-ui - v2.3.0

Published by FezVrasta over 4 years ago

  • fix: properly compute viewport sizes on iOS;
  • fix(flow): remove src folder from npm package;
  • fix(typescript): improve TS build and fix computeAutocomplete type;
  • feat: add allowedAutoPlacements option to flip modifier;
floating-ui - v2.2.3

Published by FezVrasta over 4 years ago

  • fix(types): replace __DEV__ global variable with false literal in lib/*.js.flow files so that Flow doesn't complain about an unknown global variable;
floating-ui - v2.2.2

Published by FezVrasta over 4 years ago

  • fix(applyStyles): use strategy for initialStyles
  • fix: transitionProperty dev check
  • fix: track scrolling parent when parent of assigned slot (HTMLSlotElement)
floating-ui - v1.16.1-LTS

Published by FezVrasta over 4 years ago

This release is just like 1.16.1, but the npm release doesn't come with the Popper@2 deprecation warning.

This can be useful if you are not willing to upgrade to Popper 2.x and you don't want to show to your users the deprecation warning that comes with the main release branch of 1.x

floating-ui - v2.2.1

Published by FezVrasta over 4 years ago

  • fix: the way we re-exported the types lead to an increase of bundle size
floating-ui - v2.2.0

Published by FezVrasta over 4 years ago

  • feat: arrow edge data (d36b4ad0ff98ba217bc671472b3a2ffd6d5b6d84)
  • fix(types): Export Flow type definitions from entry points
  • feat: export detectOverflow
  • feat: contextElement for virtual elements
  • fix: firefox offsetParent check