[Resolved] off-canvas menus issue when js delayed

Home Forums Support [Resolved] off-canvas menus issue when js delayed

Home Forums Support off-canvas menus issue when js delayed

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2324810
    Mohammed

    hi,

    thanks for generatepress and generateblocks.

    Upon trying some performance optimization options, delaying JS. (not deferring, this is different)

    There was an issue with off-canvas mobile menu.

    I excluded the scripts from being delayed: offside.min.js, menu.min.js, jquery, but still not working

    I might not keeping the actual settings due to testing, so let me know if you need the website url and settings to be activated for this.

    if that might help, console show error uncaught: offside not defined.

    Not having experience with this, so appreciate your help.

    #2324903
    Ying
    Staff
    Customer Support

    Hi there,

    Just want to confirm that if you disable the delaying JS option, the off-canvas menu works properly?

    And please use the private info field to share your site link.

    Most JS should be inserted in the footer which loads at the end, I’m not sure why they need to be delayed.

    #2324912
    Mohammed

    yes it’s working of course.

    This is just to pass easily the google core web vitals standard on mobile. delaying scripts offer slightly better load times on mobile.

    for the link like i said, i’m with the tests, i don’t think it’s needed, i stated the error for help.

    But if you need to check the site with the actual settings, let me know.

    #2325380
    David
    Staff
    Customer Support

    Hi there,

    not sure what we can do to assist, as we cannot know your optimization ( plugin ? ) is doing.
    But, if you want to share a link to the site with the delay JS enabled we can take a look.

    #2339247
    Mohammed

    in this case, you’ll just need to delay specific scripts that needs to be delayed.

    this will avoid these issues.

    #2339830
    David
    Staff
    Customer Support

    Can we see the site with the actual issue ?

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