Packages

@floating-ui/core

1.8.0 · 11 Jul 2026MIT130.1M / weekRepositoryHomepagenpmAtom feed

Your version

1.0.0

major19 Jul 2022Where it was published

1.8.0 is the newest release of 1.x.

In short

6 breaking3 new10 changed

  • breaking

    Removed all the underscores _ prefixes from properties

  • breaking

    Removed parse method from core library, you can't automatically create popper's markup using Popper.js core. If you need the feature, here you can find a custom modifier that reintroduces the feature. gist.github.com/FezVrasta/075d228ffb855688c75a6…

  • breaking

    Simplified modifiers API, see #62 for migration instructions

  • breaking

    boundariesElement has been deprecated in favor to new options of preventOverflow and flip modifiers

  • breaking

    onCreate and onUpdate methods have been converted to properties of the options object you can now use them with new Popper(a, b, { ...otherOptions, onCreate: () => {}, onUpdate: () => {} })

  • breaking

    gpuAcceleration is now an option of the applyStyle modifier (modifiers.applyStyle.gpuAcceleration)

Release note

Read the introduction post about Popper.js v1 at medium.com/@FezVrasta/popper-js-v1-5e8b3acd888c

Changelog:

  • breaking

    Removed all the underscores _ prefixes from properties

  • Converted source code to ES6

  • Build now uses Rollup

  • Moved from JSHint to ESLint

  • Moved from Uglify to Babili

  • Get rid of Grunt

  • Updated npm dependencies

  • breaking

    Removed parse method from core library, you can't automatically create popper's markup using Popper.js core. If you need the feature, here you can find a custom modifier that reintroduces the feature. gist.github.com/FezVrasta/075d228ffb855688c75a6…

  • Added Tooltip.js library to replace the parse method

  • breaking

    Simplified modifiers API, see #62 for migration instructions

  • breaking

    Modifiers options are now stored inside the modifiers configurations, see #62

  • Full support for HTML5 shadow root and HTML5 components (#88) (thanks @nadiam84)

  • Improved flip detection strategy (#82) (thanks @nadiam84)

  • breaking

    boundariesElement has been deprecated in favor to new options of preventOverflow and flip modifiers

  • You can now set attributes defining them in data.attributes, properties with false values will be removed

  • breaking

    onCreate and onUpdate methods have been converted to properties of the options object
    you can now use them with new Popper(a, b, { ...otherOptions, onCreate: () => {}, onUpdate: () => {} })

  • breaking

    gpuAcceleration is now an option of the applyStyle modifier (modifiers.applyStyle.gpuAcceleration)

  • Added auto placement, it will automatically get converted to the placement with more free space available (addresses #1)

  • Added inner modifier, it allows to make the popper flow toward the inner of the reference element (addresses #83)

  • From now on, the changelog will be posted in the GitHub releases and not in the CHANGELOG.md file