Giter Site home page Giter Site logo

Comments (3)

WebReflection avatar WebReflection commented on September 21, 2024

are you somehow preventing the iframe/page to reload?

that change is needed otherwise refreshed iframes would fail.

However, if you are confident with 1.14.2 you don't have issues, and as this cannot be feature detected, I suggest you stick with 1.14.2.

This library is basically maintenance mode only, but also people should stop using the dead V0 API.

customElements.define is what everyone should use already.

from document-register-element.

dnicolson avatar dnicolson commented on September 21, 2024

No iframes are used, 1.14.2 is a solid release.

I created the issue in the hope that others would see it. Thanks for you work!

from document-register-element.

WebReflection avatar WebReflection commented on September 21, 2024

No iframes are used

There's only a scenario where you can have issue: users tries to leave the page but you warn them not to, and they don't leave the page.

In such scenario, beforeunload might have triggered already, but I can't possibly know if there were other listeners in there, so the only thing I think I could do, is to eventually re-attach those methods within a setTimeout, which hopefully will execute only if the user didn't close the page, otherwise we'd be back with the IE11 issue.

I'll play with that, and see how that goes. It's not perfect, but I think it might practically works.

from document-register-element.

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.