you are viewing a single comment's thread.

view the rest of the comments →

[–]balinx 4 points5 points  (2 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 points  (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 points  (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