GithubHelp home page GithubHelp logo

IE11 Compatability about choices HOT 9 CLOSED

choices-js avatar choices-js commented on April 28, 2024
IE11 Compatability

from choices.

Comments (9)

jshjohnson avatar jshjohnson commented on April 28, 2024 1

Thanks for the heads up - this should now be resolved with these two commits:

👍

from choices.

jshjohnson avatar jshjohnson commented on April 28, 2024

Hi @zslabs;

Would you be able to send me your config for Choices so I can try and identify the issue?

Thanks

from choices.

zslabs avatar zslabs commented on April 28, 2024

Hey!
I was testing the default GH pages build (locally) under VirtualBox's modernIE build of IE11.

from choices.

jshjohnson avatar jshjohnson commented on April 28, 2024

Hi @zslabs,

This has been resolved as of version 1.1.3. IE doesn't support DocumentFragment.children so I've opted for DocumentFragment.childNodes instead.

Thanks

from choices.

zslabs avatar zslabs commented on April 28, 2024

Awesome! Thanks so much for jumping on that; can confirm it's working as expected. Appreciate it!

from choices.

rstacruz avatar rstacruz commented on April 28, 2024

I think we still have some IE11 issues. Searching doesn't seem to work. I'll update if I can make a replicable test case.

from choices.

caycecollins avatar caycecollins commented on April 28, 2024

I'm seeing issues with ie11, due to the unsupported es2015 code in the index file:

SCRIPT1002: Syntax error
Choices (249,31)

249        addItemText: (value) => {
250          return `Appuyez sur Entrée pour ajouter <b>"${value}"</b>`;
251        },

from choices.

jshjohnson avatar jshjohnson commented on April 28, 2024

Hi @inergy,

Is this on the demo site or your own code?

Thanks

from choices.

caycecollins avatar caycecollins commented on April 28, 2024

On the demo site and I've cloned the repo and can reproduce locally. The index.html file has es2015 code, which I tracked it down to these commits:

I did a quick refactor using es5 and things started working as expected (after fixing the arrow functions and template literals).

from choices.

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.