You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I would like to report a bug in the latest version of Headroom.js. The problem is that in rare cases the destroy method can be called before scrollTracker has been initialized in line #42 due to putting it in the setTimeout callback which is not canceled when destroying the headroom instance.
Bug Report
Hello. I would like to report a bug in the latest version of Headroom.js. The problem is that in rare cases the
destroy
method can be called beforescrollTracker
has been initialized in line #42 due to putting it in the setTimeout callback which is not canceled when destroying the headroom instance.Reproduction: https://jsfiddle.net/d20mxrbz/1/
The text was updated successfully, but these errors were encountered: