Skip to main content

Good morning all,

 

Right now we're running into an issue where the afterScriptsLoaded event does not appear to be firing in our Aura components on the "live" version of our Experience site.  In Experience Builder, everything fires off 100% fine every time and our jQuery/JavaScript libraries do as they're asked.  However, when you go to the "live" version of the site, the first time you login everything loads just fine.  As soon as you reload however, the jQuery appears to fail and continues to fail until (it looks like) the session expires and you start a new one.  Hard reloading doesn't work.  I can't find anything talking about this specific issue unfortunately.

 

Turning these into LWCs is not an option because of the nature in which these libraries modify the DOM (we're using SlickJS).

 

Any help would be greatly appreciated.  Thank you! #Aura #Lightning Component

3 risposte
  1. 5 ago 2021, 13:32

    Ah, I think I got it.  I applied the fix in that link yesterday to one of the components, but not to the others, and it seems that when the others break, it breaks EVERYONE on the page.  The fixed component when all alone or with unproblematic components works just fine.  So, I've got some fixing to do!  But at least this one works!

0/9000