NeXTs / Clusterize.js

Tiny vanilla JS plugin to display large data sets easily
https://clusterize.js.org
MIT License
7.22k stars 412 forks source link

row rendering leaks with large amount of data #31

Closed s-a closed 9 years ago

s-a commented 9 years ago

I am playing with clusterize in Github' s Electron environment and noticed that the row rendering leaks with large amount of data. A reproducible example is at https://github.com/s-a/fileSharp/tree/abc29f2b872bb53f07e5a20cc8c1905dd83f81ac. The repo contains static test data (~8000 list items).
It should start easy with
npm install; npm run dev; Then switch to "test-folder" with a double click.

image

NeXTs commented 9 years ago

Hi Stephan, that's same issue as Martin noticed recently

That happens because you resized window and rows changed height.

I made pull request with temporary workaround, this should work fine for you. And I'll notify you once I implement this behaviour into plugin.

s-a commented 9 years ago

Ty for quick help. I subscribed #29