• Resolved ryanstg24

    (@ryanstg24)


    Hello,

    When having Autoptimize enabled, the mobile dropdown menu does not work. When disabled it works just fine. I added this wp-content/themes/nss/js/navigation.js to exclude from Javascript and CSS, cleared cache and still does not work. Any suggestions?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    maybe before trying to exclude stuff try simply disabling CSS or JS optimization to see which one is impacting the menu for starters. based on that we can see what the next step(s) should be 🙂

    frank

    Thread Starter ryanstg24

    (@ryanstg24)

    So it is Javascript that is the issue. CSS is fine

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, so when JS optimization is active, what JavaScript errors do you see on the browser console?

    Thread Starter ryanstg24

    (@ryanstg24)

    A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. Starting in Chrome 101, the amount of information available in the User Agent string will be reduced.
    To fix this issue, replace the usage of navigator.userAgent, navigator.appVersion, and navigator.platform with feature detection, progressive enhancement, or migrate to navigator.userAgentData.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    hmm, afraid that doesn’t help us (not relevant to the issue). can you try adding just wp-content/themes or wp-content/plugins to the comma-separated JS optimization exclusion list to see if that allows us to get closer to finding the culprit?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    any news ryan? 🙂

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    No feedback so I assume this got fixed ryanstg24 ? Feel free to follow up if you still encounter issues!

    have a nice day!
    frank

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Mobile Menu dropdown doesn’t work when enabled’ is closed to new replies.