No idea why this is happening, but it results in the .is_stuck class being removed and re-added on every little scroll event. I changed line 119 (within the tick() function) to read:
if (!recalced && Math.abs(doc.height() - last_scroll_height) > 1) {
No idea why this is happening, but it results in the
.is_stuck
class being removed and re-added on every little scroll event. I changed line 119 (within thetick()
function) to read:if (!recalced && Math.abs(doc.height() - last_scroll_height) > 1) {
And it works.
Safari 10.0.2.