This repository has been archived by the owner on Nov 19, 2019. It is now read-only.
group height changed with item.top when navigate the timeline even set the heightmode with fixed #69
Labels
bug
Something isn't working
set the groupHeightMode to fixed,
when navigate the timeline,the item.top will be changed and then the group height will be changed.
any solution? thx very much.
i can't run timeline in jsfiddle.
so i remake the problem in https://jshare.com.cn/temp/FptwxQ
pay attention to the "two group".
I guess, maybe sth wrong with the _calculateHeight code, because the item.top change frequently and then the group height changed. I'm not sure.
specially
if (min > margin.axis) {
// there is an empty gap between the lowest item and the axis
var offset = min - margin.axis;
max -= offset;
util.forEach(items, function (item) {
item.top -= offset;
});
The text was updated successfully, but these errors were encountered: