Skip to content

Conversation

@BigWhale
Copy link

@BigWhale BigWhale commented Sep 1, 2015

If the height of the element changes when it's made sticky it will cause the last_scroll_height !== doc.height() check fail and recalc() will be firing on every tick().

If last_scroll_height is updated right after the element is made sticky and the css class is attached to it, everything works as it should.

@Grafikart
Copy link

This PR solves an issue with Chrome where sticky-kit blocked the scroll of my page (it should be merged)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants