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 has been archived by the owner on Nov 19, 2019. It is now read-only.
It seems there is an issue with rendering BG items when calling timeline.fit() if the maximum zoom level is smaller than the range of the dates in the data set.
In my case, I allow a zoomMax of 2 days:
zoomMax: 1000 * 60 * 60 * 24 * 2, // maximum 2 days
However, if I load data that spans 5 days and call fit() the BG items (in yellow) get messed up. (Messed up = they suddenly span over the whole width of the timeline).
I created a GIF to demonstrate the issue:
Once the items are messed up, scrolling all the way to the left and to the right will somehow make them render correctly (not shown in the gif).
I have tested this both in version 2.2.3 and the latest 2.3.4.
Note: The issue does not appear if the range of dates in the data set fits into the "zoomMax" range (in this case, if I select less than 2 days of data).
The text was updated successfully, but these errors were encountered:
It seems there is an issue with rendering BG items when calling
timeline.fit()
if the maximum zoom level is smaller than the range of the dates in the data set.In my case, I allow a
zoomMax
of 2 days:However, if I load data that spans 5 days and call
fit()
the BG items (in yellow) get messed up. (Messed up = they suddenly span over the whole width of the timeline).I created a GIF to demonstrate the issue:
Once the items are messed up, scrolling all the way to the left and to the right will somehow make them render correctly (not shown in the gif).
I have tested this both in version 2.2.3 and the latest 2.3.4.
Note: The issue does not appear if the range of dates in the data set fits into the "zoomMax" range (in this case, if I select less than 2 days of data).
The text was updated successfully, but these errors were encountered: