This repository has been archived by the owner on Nov 19, 2019. It is now read-only.
RangeItems does not resize correctly when part of item is outside left border of timeline. #98
Labels
bug
Something isn't working
Hi,
After upgrading from vis.js to timeline-plus i noticed that the width of my range items is not resizing as earlier when part of the item is outside the left border of the timeline. As my css for the items is dependent on the width of the container it messes up my items.
This is because line 330 in rangeItem.js is commented.
// this.dom.content.style.width = 'calc(100% - ${contentStartPosition}px)';
If i put that line back it works as before.
I dont know why this line has been commented and if it does affect something else but my question is if it would be possible to put it back in?
The text was updated successfully, but these errors were encountered: