[Support request] Use barba.js and GSAP

Home Forums Support [Support request] Use barba.js and GSAP

Home Forums Support Use barba.js and GSAP

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1777235
    Antonio

    Hi,
    I am using the barba.js and Gsap (GreenSock) script in the development of my new website.

    I’ve already managed to get it working, however, for example if you click on Menu> Blog and an article, it’s ok, however in the end clicking to return to the Home does not load well and I have problems with the slider.

    check here: https://novo.minerva-online.pt

    Can you help me?
    Thanks

    #1777625
    David
    Staff
    Customer Support

    Hi there,

    the only issue i can see is this error in the console:

    ReferenceError: Can’t find variable: SplitText

    which relates to this line of code:

    const splitLines = new SplitText('#split-me', {
      type: "lines",
      linesClass: "line line++"
    });

    Its there on initial load of the site but may be fired after the other code so its not ‘breaking’ code that may be fired after it. On return to the home page however that code may be stopping the other scripts from loading.

    In other words – begin by fixing that error 🙂

    #1777639
    Antonio

    Hello David,
    thanks for the alert, but it is not related. I remove the error but everything remains the same.

    Best

    #1777689
    David
    Staff
    Customer Support

    Not much else advice i can offer – if i (try to) run a performance report in developers tools i see a real Long Task running – which is probably the blocking the browser from doing anything else during that time.

    Its not something i can help with unfortunately as its not theme related and its out of our scope.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.