Skip to content

fix incorrect calculation for "bottom" on non-window scrollers#326

Merged
WickyNilliams merged 1 commit intomasterfrom
bugfix/element-scroller-bottom
Aug 29, 2019
Merged

fix incorrect calculation for "bottom" on non-window scrollers#326
WickyNilliams merged 1 commit intomasterfrom
bugfix/element-scroller-bottom

Conversation

@WickyNilliams
Copy link
Copy Markdown
Owner

There was incorrect logic for calculating when at bottom. If your scroller was not window, the bottom class would be applied too early as the code didn't account for the possibility of other types of scroller.

This PR fixes the issue, and improves the test suite to cover this

@WickyNilliams WickyNilliams merged commit cd46a7d into master Aug 29, 2019
@WickyNilliams WickyNilliams deleted the bugfix/element-scroller-bottom branch August 29, 2019 15:44
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