headhesive.js
headhesive.js copied to clipboard
Fix for triggers/events not firing
I am not sure whether to post this as an issue or if I'm supposed to post this somewhere else, but this just took a couple of hours of my time and I hope this might help some people.
If you set overflow to be hidden in the CSS of your body/html, the only event that will actually trigger is the init() event on page load, but not any of the other ones. This probably has something to do with the fact that the jQuery window.onScroll() event does not fire when overflow is hidden, which this library probably relies on.
Hope this helps someone.
Cheers