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 invalid cells cached on infinite loaded grids #528

Merged
merged 2 commits into from
Jan 6, 2017

Conversation

nickclaw
Copy link
Contributor

@nickclaw nickclaw commented Jan 6, 2017

Closes #526

Copy link
Owner

@bvaughn bvaughn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small bug with the test. Otherwise this looks great.

Does this fix the issue for you locally as well? :)

it('should called :recomputeRowHeights if defined', () => {
let recomputedRowHeights = false
class TestComponent extends Component {
forceUpdate () {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method should be named recomputedRowHeights

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, will update.

@nickclaw
Copy link
Contributor Author

nickclaw commented Jan 6, 2017

Yeah, with this PR and the one just merged my grid is crazy smooth

@bvaughn
Copy link
Owner

bvaughn commented Jan 6, 2017

Fantastic. Thank you!

@bvaughn
Copy link
Owner

bvaughn commented Jan 6, 2017

Soon as that method is renamed in the test I'll merge.

@bvaughn
Copy link
Owner

bvaughn commented Jan 6, 2017

Thank you! :)

@bvaughn bvaughn merged commit 3b944e0 into bvaughn:master Jan 6, 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

Successfully merging this pull request may close these issues.

2 participants