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

fix: clamp endIndex if less items than prerender #473

Merged
merged 2 commits into from
Oct 14, 2022

Conversation

Ovyerus
Copy link
Contributor

@Ovyerus Ovyerus commented Jul 23, 2020

Fixes an error I was getting in a component using this, where if prerender was greater than the amount of items I gave the scroller, it would try to get more items than available, causing an error from the item being undefined.

@Akryum Akryum changed the base branch from master to v1 October 14, 2022 15:31
@Akryum Akryum merged commit f9124aa into Akryum:v1 Oct 14, 2022
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