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
{{ message }}
This repository was archived by the owner on Jul 29, 2019. It is now read-only.
When I call focus() on a specific item ID, it centers the timeline horizontally on this item (i.e. by date) as expected.
However, when constraining a timeline with a maxHeight and rendering a timeline with more groups than can fit in the view window, calling focus() does not pull the vertical scroll in a way that also displays the selected item if it is not currently visible.
Is this expected behaviour? Examination of the function code in vis.js suggests that it doesn't attempt any vertical correction, which I believe would be helpful to completely enact a "focus" on a specific item.