npm @popperjs/core 2.0.0-alpha.2
v2.0.0-alpha.2

latest releases: 2.11.8, 2.11.7, 2.11.6...
4 years ago

The second alpha of Popper 2 is here! From now on we'll try to keep track of the changes using the GitHub releases.

In this version:

  • feat: point to popper-lite for default ESM import;
  • fix: address Firefox quirk (#837);
  • feat: preventOverflow#tetherOffset and flip#checkVariation;

Breaking changes:

The default library export for ESM consumers is now popper-lite.js, this version includes the most basic modifiers needed to have a working popper. If you want to take advantage of the super-thin Popper core, you can still import from @popperjs/core/lib/popper-base.js to reproduce the previous behavior (no modifiers).

The preventOverflow and flip modifiers API slightly changed, preventOverflow#tether is now a boolean, and you are able to further configure it by defining the thetherOffset option.

The flip modifier has now a new option, checkVariation, that will attempt to flip the placement's variation (-start, -end) in order to keep the popper within its boundaries.

Don't miss a new core release

NewReleases is sending notifications on new releases.