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

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

Projects

None yet

1 participant

@NeXTs
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 added a commit that closed this issue Aug 8, 2015
@NeXTs Fixed #40 e53002c
@NeXTs NeXTs closed this in e53002c Aug 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment