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

Bad Things happen with non-unique markup #97

Closed yarf closed 7 years ago

yarf commented 7 years ago

If the markup for each row is not unique, bad things seem to happen. Here's a slightly adjusted version of your "search" example to demonstrate, where I removed the unique index from the inserted rows: http://codepen.io/anon/pen/MJxNqo

... scroll the table towards the bottom and watch what happens?

NeXTs commented 7 years ago

Hello Hm, indeed That's because cache condition which was made to avoid unnecessary repaints (for example when call .update(data) while data didn't actually changed). That's a bug which should be fixed so thanks for letting me know but do you really have that much weird table with exact same rows? :)

yarf commented 7 years ago

using Clusterize to render a (potentially) large amount of "status" information ... there are often rows with identical status ;p

yarf commented 7 years ago

Thank-you!

NeXTs commented 7 years ago

@yarf oops, use v0.17.4 :)