Git Product home page Git Product logo

Comments (7)

wbhob avatar wbhob commented on August 12, 2024

Do you have any other information? Errors in the console, or something that would lead you to believe that that is the case? The code has not changed for that function, and it is ported directly from Intercom.

from ng-intercom.

matt-filion avatar matt-filion commented on August 12, 2024

from ng-intercom.

wbhob avatar wbhob commented on August 12, 2024

window.onLoad should be invoking it in compatible browsers, if not, it adds an eventlistener for load.

from ng-intercom.

MarkusPint avatar MarkusPint commented on August 12, 2024

I can confirm this. It happens on beta.12 too and switching back to beta.10 fixes it. There are no errors in console.

from ng-intercom.

worldspawn avatar worldspawn commented on August 12, 2024

I'm using beta11 on one site without issue and on another using beta11 the load event has fired at the time the intercom runs loadIntercom. Nfi why, it's all initialised in the same way. Only thought I had it something to do with how the modules were bundled (for lazy loading).

Could we perhaps do something like:

else {
  if (w.document.readyState === 'complete')
     l();
  else {
     w.addEventListener('load', l, false);
  }
}

Though when i try that i get this in my log output
image

from ng-intercom.

sijmenvos avatar sijmenvos commented on August 12, 2024

I can also confirm this, when using 1.0.0-beta.10 Intercom loads, on 1.0.0-beta.13 it doesn't either.

from ng-intercom.

scott-wyatt avatar scott-wyatt commented on August 12, 2024

Marking this as a deprecated issue. Feel free to reopen another issue if this persists in a later version.

from ng-intercom.

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.