Giter Site home page Giter Site logo

Comments (12)

solussd avatar solussd commented on May 2, 2024 1

There is a polyfill for this: https://developer.mozilla.org/en-US/docs/Web/API/Element/closest

from react-diagrams.

will-stone avatar will-stone commented on May 2, 2024 1

Could this be included in the documentation? The polyfill, not your view on IE :) I agree that IE is a total pain in the arse but it's still a widely used browser.

from react-diagrams.

dylanvorster avatar dylanvorster commented on May 2, 2024 1

done

from react-diagrams.

will-stone avatar will-stone commented on May 2, 2024

I'm confused, why has this been closed? Is the polyfil going to be included?

from react-diagrams.

dylanvorster avatar dylanvorster commented on May 2, 2024

no, because its up to you to include poly fills as an application developer (its not my fault that IE 11 is a colossal piece of shit :) ) I would however like another opinion on this. @gen4sp @alexisvincent @solussd

from react-diagrams.

solussd avatar solussd commented on May 2, 2024

I agree polyfills are something that the application developer needs to decide to include or not. It would be difficult to determine for the user what browsers/browser versions they want to support.

from react-diagrams.

dylanvorster avatar dylanvorster commented on May 2, 2024

Sure, ill do a documentation bump tonight. I will also clean up a few things

from react-diagrams.

alexisvincent avatar alexisvincent commented on May 2, 2024

I recommend using a ponyfil, at the library level. Note, I do not mean a polyfil.

from react-diagrams.

will-stone avatar will-stone commented on May 2, 2024

That'd be great, thanks for all the hard work on this project.

from react-diagrams.

alexisvincent avatar alexisvincent commented on May 2, 2024

https://github.com/sindresorhus/ponyfill/blob/master/readme.md

from react-diagrams.

will-stone avatar will-stone commented on May 2, 2024

Thanks for updating with new "closest" dependency. Can you please bump the version so Yarn can upgrade the package? I know I'm asking a lot, but a tagged release process or a changelog would also be much appreciated.

from react-diagrams.

will-stone avatar will-stone commented on May 2, 2024

Great, thanks.

from react-diagrams.

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.