Clusterize.js icon indicating copy to clipboard operation
Clusterize.js copied to clipboard

Cannot scroll past 1,342,180th line.

Open jcoffland opened this issue 6 years ago • 0 comments

I'm adding 2,039,224 lines to Clusterize.js but then I cannot scroll past line 1,342,180. getRowsAmount() returns the correct number.

Has the <ul> reached some max height? It's 33,554,400px high according to the browser. I find it interesting that it is 32px shy of 2^25. Those 32px could be an extra 16px top and bottom for borders or margins. Any ideas?

Update: It does appear to be a height limitation. If I reduce the line-height then I can scroll further. It would be nice if Clusterize.js didn't rely on having a massively tall container. This was in Chrome, BTW. May be different in other browsers.

jcoffland avatar Dec 01 '18 07:12 jcoffland