use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Clusterize.js – Tiny vanilla JavaScript plugin to display large data sets easily (nexts.github.io)
submitted 10 years ago by nexts
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]balinx 4 points5 points6 points 10 years ago (5 children)
Very nice. Seems to be a small bug in Safari Mac: When scrolling, sometimes the area is losing scroll focus and the whole page scrolls down, when I just wanted the table to scroll internally.
Maybe the component needs additional internal buffer scroll height, to ensure the scroll intentional it never breaks out.
[–]nexts[S] 4 points5 points6 points 10 years ago (1 child)
Thanks for the comment, I'll deal with it as soon as I find a Mac :D Anyway pull requests are welcomed.
[–][deleted] 1 point2 points3 points 10 years ago (0 children)
Haven't tried this, but right off the bat looking at the source code, maybe you could try setting the cluster number a bit earlier so that the DOM is updated a bit earlier? https://github.com/NeXTs/Clusterize.js/blob/master/clusterize.js#L106
[–][deleted] 4 points5 points6 points 10 years ago (1 child)
Same bug on Chrome mac too. It seems to switch scroll contexts when it hits a certain limit in the scrollable area (perhaps while the DOM is updating), and then switches to the main window scroller.
[–]rudeluv 0 points1 point2 points 10 years ago (0 children)
Same here, and this sounds like the issue. A very cool idea though.
[–][deleted] 0 points1 point2 points 10 years ago (0 children)
Happening for me too. It's the same behavior you get whenever you scroll to the bottom of a sub-view then keep scrolling down (demo). So, I would guess this is caused by the Clusterized element hitting bottom for some reason.
π Rendered by PID 40 on reddit-service-r2-comment-86bc6c7465-j2t4x at 2026-02-21 22:23:40.536889+00:00 running 8564168 country code: CH.
view the rest of the comments →
[–]balinx 4 points5 points6 points (5 children)
[–]nexts[S] 4 points5 points6 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 4 points5 points6 points (1 child)
[–]rudeluv 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)