garand / sticky

jQuery Plugin for Sticky Objects
Other
3.3k stars 1.06k forks source link

Update event not work correctly with bottomSpacing #227

Open romanlex opened 8 years ago

romanlex commented 8 years ago

If after block content height is changed I call update event for sticky block. But I found what new bottomSpacing is ignored

var newTop = documentHeight - s.stickyElement.outerHeight()
            - s.topSpacing - s.bottomSpacing - scrollTop - extra;
Giovanni-Mattucci commented 7 years ago

Having the same issue.