visjs / vis-timeline

📅 Create a fully customizable, interactive timelines and 2d-graphs with items and ranges.
https://visjs.github.io/vis-timeline/
Other
1.87k stars 313 forks source link

[Bug] Cluster items dont get rerender after update #741

Open razbensimon opened 4 years ago

razbensimon commented 4 years ago

Hello! look at this jsbin

For some reason, an update call to the dataset isn't making any UI changes to items of type Cluster. (no call to template function) only regular items get rerender (calling to template function). I think it is something with the inner dirty flag mechanism of cluster items, but I am not sure.

How to reproduce:

(this is not happening with the RemoveAdd button)

razbensimon commented 3 years ago

any thoughts about this bug? 🐛

razbensimon commented 3 years ago

Any Idea from where this issue is coming from? I don't know how to solve it, it will be nice to get any thoughts about it :) thanks!

ariel22411 commented 3 years ago

+1

AlexStanovsky commented 3 years ago

+1