Skip to content

Conversation

@wohali
Copy link

@wohali wohali commented Dec 6, 2015

When specifying a targetElement and the element has a height greater
than that of the window height, snow would not "stick." Without
overflow:hidden specified, this can lead to an infinite scroll problem
(and significant performance degradation).

This patch zeroes out scrollY when a targetElement is specified,
allowing snow to stick to the bottom of the element, regardless of its
height.

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.

1 participant