Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buffer amount feature does not work #71

Closed
jeco123 opened this issue Jul 20, 2017 · 1 comment
Closed

Buffer amount feature does not work #71

jeco123 opened this issue Jul 20, 2017 · 1 comment

Comments

@jeco123
Copy link

jeco123 commented Jul 20, 2017

The scrolling behavior is weird when adding this property to the component as if items where not scrolled at the beginning of the list.

@Marcelh1983
Copy link
Contributor

changing this.topPadding = d.childHeight * Math.ceil(start / d.itemsPerRow) - (d.childHeight * Math.min(start, this.bufferAmount)); works for me.

I think this.element.nativeElement.scrollTop should corrected the same way. But I didnt notice any difference changing this.

rintoj added a commit that referenced this issue Aug 9, 2017
fix buffer for scroll to top amount #71
@rintoj rintoj closed this as completed Aug 10, 2017
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

No branches or pull requests

3 participants