A JavaScript library to position floating elements and create interactions for them.
MIT License
Bot releases are visible (Hide)
Published by FezVrasta over 4 years ago
Published by FezVrasta over 4 years ago
funding
field in package.json
Published by FezVrasta over 4 years ago
flip
and preventOverflow
modifiers now support altBoundary
flag;Published by FezVrasta over 4 years ago
Our quest to keep the issue tracker empty continues!
In this release:
Published by FezVrasta over 4 years ago
Window
type to improve type safety (Flow only);Published by FezVrasta over 4 years ago
flipVariations
was enforced even if set to false
.mjs
instead of .js
)We also added a new development mode warning to let you know to disable the adaptive
option of computeStyles
when your popper has CSS transitions.
Published by FezVrasta over 4 years ago
I'm sorry for the trouble, but I accidentally listed as dependencies
a dev dependency in 2.0.2, this release puts it back to devDependencies
. The previous version works just fine, this 2.0.3 is just to keep things tidy and clean.
babel-plugin-transform-inline-environment-variables
from dependencies
to devDependencies
;Published by FezVrasta over 4 years ago
Published by FezVrasta over 4 years ago
This release includes a small bug fix and better development error messages:
The type changes may introduce small breaking changes, be careful.
Published by FezVrasta almost 5 years ago
Announcement article:
https://dev.to/fezvrasta/smarter-tooltips-and-popovers-with-popper-2-44bh
Published by FezVrasta almost 5 years ago
In this release:
onFirstUpdate
callback option;Published by FezVrasta almost 5 years ago
In this release:
preventOverflow
now takes in account offsets provided by offset
modifier;instance.setOptions
will now extend the originally provided options instead of replacing them;instance.setOptions
will now also run a position update;esm
build is now browser compatible;lib/
now ship with their own .d.ts
files (TypeScript)Published by FezVrasta almost 5 years ago
Please welcome our first Release Candidate for Popper 2!
With this release, the official website and documentation has been updated to point to the Popper 2 content.
Notable changes:
optionallyRequires
to requiresIfExists
;onCreate
and onDestroy
with effect
state
, if undefined
is returned, the same state
object will be used on the next modifier;Published by FezVrasta almost 5 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:
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.
Published by FezVrasta about 5 years ago
.js.flow
definitions (#829) (thanks @pascalduez)Published by FezVrasta over 5 years ago
reference
and popper
class properties (#759)Published by FezVrasta over 5 years ago
preventOverflow
and flip
modifiers;Published by FezVrasta almost 6 years ago
Published by FezVrasta almost 6 years ago
.offsetParent
correctly (#659)Published by FezVrasta about 6 years ago
bottom
when x="top" and right
when y="left" (#612)placement
(#623)