• Resolved Sean

    (@sean-h)


    Hi,

    Just updated to WP 5.6 and when I click on an item in the TOC, it scrolls fast down to the item, then jumps back to the very top of the page.

    I see Easy TOC has only been tested up to 5.4.4.

    Edit: I just installed the jQuery Migrator helper plugin, and that fixed the problem. But this is only a temp fix.

    • This topic was modified 4 years, 3 months ago by Sean.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Same here!
    Seems a compat issue with WP 5.6

    Lets wait for an update or restore to a previous WP version.
    XO
    Saskia

    Steven

    (@shazahm1hotmailcom)

    The cause is likely another plugin (or theme) that requires the jQuery Migrator helper plugin, not ezTOC.

    Hi Steven!

    You are right!
    I just tried debugging the issue and found several compat issues caused by my theme’s js code.
    So I guess: false alarm here! TOC scripts are not causing any js compat issues with latest WP 5.6 implemented jquery library and removed jquery migrate script.

    xO
    Saskia

    Thread Starter Sean

    (@sean-h)

    Interesting. But I still have to wonder what I have to do about it, because nothing else appears broken, apart from TOC. I’m using Divi, a premium theme I paid good money for. You would think they’d be on top of these things.

    Steven

    (@shazahm1hotmailcom)

    You would have to inspect the browser’s Console to determine which plugin (or theme) requires jQuery Migrate. You only see an issue with ezTOC because an error requiring jQuery Migrate occurred before the code for ezTOC.

    Divi theme has not been prepared for WP 5.6
    You will learn this, when you contact their support.

    Following scripts are causing issues with latest jQuery library, which is included with WP 5.6:

    Following scripts show deprecation errors and therefor the frontend no longer works smoothly:
    1.
    /wp-content/themes/Divi/includes/builder/scripts/ext/jquery.mobile.custom.min.js
    Reason: jQuery.attrFn is deprecated
    2.
    /wp-content/themes/Divi/includes/builder/frontend-builder/build/frontend-builder-scripts.js
    Reason: \’ready\’ event is deprecated
    3.
    /wp-content/themes/Divi/js/custom.js
    Reason: jQuery.fn.unload() is deprecated

    And so forth…

    You will have to wait for a Divi Update and in the meantime use the jQuery Migrate Helper.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Jumps back to top of page.’ is closed to new replies.