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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: range calculated only on scroll #166

Merged

Conversation

piecyk
Copy link
Collaborator

@piecyk piecyk commented Jul 20, 2021

Yet another fix for #112 馃槄 Idea here is very simple, when measurements request for new range, but if scroll is happening in between cancel the request.

@piecyk piecyk force-pushed the fix/range-on-measurements-change-2 branch from ab5b417 to 276b86c Compare July 20, 2021 06:37
@piecyk
Copy link
Collaborator Author

piecyk commented Jul 26, 2021

@tannerlinsley what do you think about this fix? Will not affect perfomance when scrolling, dynamic size tests have now correct rows rendered.

@Karpengold
Copy link
Contributor

@tannerlinsley it would be nice to have it in the next release :)

@tannerlinsley tannerlinsley merged commit adf60b3 into TanStack:master Aug 5, 2021
@tannerlinsley
Copy link
Collaborator

馃帀 This PR is included in version 2.8.1 馃帀

The release is available on:

Your semantic-release bot 馃摝馃殌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants