GithubHelp home page GithubHelp logo

Comments (10)

robdodson avatar robdodson commented on July 1, 2024 1

from inert.

morsmodr avatar morsmodr commented on July 1, 2024

The example page https://wicg.github.io/inert/index.html also breaks on IE 11

from inert.

robdodson avatar robdodson commented on July 1, 2024

Fixed (ca1d7f7) and updated on npm

from inert.

joe-watkins avatar joe-watkins commented on July 1, 2024

HI Rob! Is the demo calling that right dist file? It is calling a version that has array.from in it still.

From demo page:
https://wicg.github.io/inert/index.html

<script src="dist/inert.js"></script>

https://wicg.github.io/inert/dist/inert.js

from inert.

robdodson avatar robdodson commented on July 1, 2024

oh i can fix that. I think that whole demo page is outdated tbh. It's a stale publish to gh-pages I think.

from inert.

joe-watkins avatar joe-watkins commented on July 1, 2024

@robdodson tnx! Side note - I was all excited to employ this polyfill for a large client and had to yank it due to IE bugs and a babel.js polyfill dependency. I wish this thing reached more because it totally rocks!

from inert.

robdodson avatar robdodson commented on July 1, 2024

Which IE bugs did you encounter?
Also, why was the babel polyfill an issue? I believe you should be able to feature detect it so it only gets included in IE pages?

from inert.

joe-watkins avatar joe-watkins commented on July 1, 2024

Howdy @robdodson :)

First ran into the array.from() bug in this issue, which appears to be fixed with your splice approach. So moved to the more recent umd build and then ran into a Symbol.iterator bug. Looks like IE doesn't play with that either.

The client wasn't into adding another 100k for babel's polyfill -- even conditionally.

Would you like me to create an issue for the IE Symbol.iterator bug?

from inert.

robdodson avatar robdodson commented on July 1, 2024

from inert.

robdodson avatar robdodson commented on July 1, 2024

Digging into this a bit more, it definitely looks like the polyfill is busted in IE. I've been meaning to revamp the tests for it like we did for focus-visible. Will have to dedicate some time to that soon :\ @alice fyi.

from inert.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.