floating-ui / popper.js.org

🍿🦉Website and Documentation for Popper and friends
https://popper.js.org
MIT License
77 stars 400 forks source link

Fix: Add String.prototype.includes in polyfill.io url #22

Closed stefanroex closed 3 years ago

stefanroex commented 3 years ago

In a recent PR (https://github.com/popperjs/popper-core/pull/1244) String.prototype.includes is used for the first time, which isn't supported by IE11 (https://caniuse.com/es6-string-includes). Without the addition of a String.prototype.includes polyfill, popper won't work on IE.

FezVrasta commented 3 years ago

Thanks, I got rid of it instead. https://github.com/popperjs/popper-core/pull/1264