The Scrolling Nav
effect of my site is not working in Google Chrome, but in Firefox, Edge, Safari and etc., is working normal, what can it be?
The Scrolling Nav
effect of my site is not working in Google Chrome, but in Firefox, Edge, Safari and etc., is working normal, what can it be?
This was due to a change in Chrome 61, according to the Blog (15 August 2017) :
To align with the spec and preserve browser consistency, the scrollingElement is now the documentElement in standards mode.
Details about standards mode : link p>
Note: I found the information thanks to a post on AutoScroll on chat exchange doesn 't work in chrome 61
One possible way to fix this is to change the scroll element to this:
var el = document.scrollingElement || document.documentElement;
Documentation: link
Note: If you are using jQuery update it to the latest version, you have probably fixed the bug in it.