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

Cannot scroll past 1,342,180th line. #161

Open
jcoffland opened this issue Dec 1, 2018 · 0 comments
Open

Cannot scroll past 1,342,180th line. #161

jcoffland opened this issue Dec 1, 2018 · 0 comments

Comments

@jcoffland
Copy link

jcoffland commented Dec 1, 2018

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.

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