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

Empty rows on init does not render rows during next update #40

Closed
NeXTs opened this issue Aug 8, 2015 · 0 comments
Closed

Empty rows on init does not render rows during next update #40

NeXTs opened this issue Aug 8, 2015 · 0 comments

Comments

@NeXTs
Copy link
Owner

NeXTs commented Aug 8, 2015

In case clusterize inits with empty list it could not determine row height.
Previously this case was not reproduced but changes in (v0.9.1)[https://github.com/NeXTs/Clusterize.js/commit/e12e4ce38435fe7010cb9beb7562330573ebc41d#diff-f44ed6ae3a3f46f86f70b186bb38d5ffR209] breaks this.

That's because Math.max(NaN, 0) is NaN

@NeXTs NeXTs closed this as completed in e53002c Aug 8, 2015
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

1 participant