Giter Site home page Giter Site logo

Comments (3)

aduth avatar aduth commented on June 6, 2024 1

Thanks for the note @lgarron . At least for the short-term, I believe that we are continuing to support Internet Explorer 11, since we see a non-insignificant amount of traffic from users of it (~2%). I suspect and hope that this will trend lower in the coming months as we approach Microsoft's June sunsetting date to a point where we could reconsider dropping support.

As you noticed, we only use a very small fraction of the Clipboard API. And while we could simply inline a backward-compatible solution, our current polyfill approach lets us write code in a way that we can easily drop those legacy implementations in the future.

The only issue for us currently is TypeScript 4.5 compatibility which, aside from the upstream pull request, I had explored a workaround which could let us upgrade independent of clipboard-polyfill (edit: now merged in #5977).

I think our best course of action would be to continue using the polyfill as-is, like the first option you mentioned. If/when we can drop support for Internet Explorer, I expect we could safely drop the polyfill.

from identity-idp.

lgarron avatar lgarron commented on June 6, 2024

For reference, navigator.clipboard.writeText has been supported natively since:

  • Firefox 53+ (October 2018)
  • Chrome 66+ (April 2018)
  • Edge 79+ (January 2020, the first Chromium-based release)
  • Safari 13.1+ (March 2020)

https://github.com/lgarron/clipboard-polyfill#compatibility

from identity-idp.

aduth avatar aduth commented on June 6, 2024

Going to preemptively close this with the expectation that all of @18f/identity-polyfill will likely become obsolete if/when Internet Explorer is no longer supported.

from identity-idp.

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.