Sticky Nav Bar Not Working

Hey there,

With the most recent update to Pro - our sticky nav bars are no longer working properly on our site. I’ve deactivated all the plugins and commented out any extra functions yet the issue still remains. When inspecting the console I get the following error message multiple times:

(index):1400 Uncaught TypeError: Cannot read property 'top' of undefined
at isScrolledIntoView ((index):1400)
at (index):1407
at dispatch (jquery.min.js?ver=3.5.1:2)
at v.handle (jquery.min.js?ver=3.5.1:2)

I’ll provide logins in a private note to follow - thanks in advance for your help on this issue!

Hi @cobweb,

While viewing that error, if you click on the part that says ((index:1400) it will jump you to the code causing the error. It looks like you have some custom javascript there. Try removing that code temporarily to see if the sticky bars start working again. At that point you can troubleshoot the code to see what may need to be changed to restore its intended functionality.

Whoops - completely missed that extra JS. Once commented out the sticky is working properly again. Thanks for your help!

You’re very welcome, Allen!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.