You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed that when I have many event items on a timeline, they are stacked and laid out nicely at first. But as I pan to the right, the items start to jump around. This seems to be due to items getting removed from the DOM (or layout algorithm?) as they go out of "range". This makes sense from a performance standpoint, but it causes knock-on effects to the layout of items such that sometimes an item I am looking at just jumps away, often offscreen, which is jarring.
I would love it if I can modify vis-timeline such that I can have stability of layout during X/Y panning. Of course zooming will cause a re-layout, but it would be awesome if panning did not, if everything just stayed in place.
I have started looking into the code to try and make this change, as I don't see an option for it. But I would super appreciate any tips related to this if anyone has had this issue?
Thanks!!!
The text was updated successfully, but these errors were encountered:
@ChrisAndersonFV I noticed the same phenomenon.
The problem seems to arise from Group.redraw() calculating default heights for Timeline entries not currently displayed (especially if group need to display in several lines),
After going through the code (and adding lots of logging), setting TimelineOptions.groupHeightMode to 'fixed' solved the issue
Setting groupHeightMode to fixed didn't solve the issue for me, it still jumps on paning in X.
I would love it if I can modify vis-timeline such that I can have stability of layout during X/Y panning. Of course zooming will cause a re-layout, but it would be awesome if panning did not, if everything just stayed in place.
I have noticed that when I have many event items on a timeline, they are stacked and laid out nicely at first. But as I pan to the right, the items start to jump around. This seems to be due to items getting removed from the DOM (or layout algorithm?) as they go out of "range". This makes sense from a performance standpoint, but it causes knock-on effects to the layout of items such that sometimes an item I am looking at just jumps away, often offscreen, which is jarring.
I would love it if I can modify vis-timeline such that I can have stability of layout during X/Y panning. Of course zooming will cause a re-layout, but it would be awesome if panning did not, if everything just stayed in place.
I have started looking into the code to try and make this change, as I don't see an option for it. But I would super appreciate any tips related to this if anyone has had this issue?
Thanks!!!
The text was updated successfully, but these errors were encountered: