in vis.js timeline you can set the own elements to overflow the item box like in this example.
Is there also an way that my custom element is exactly the same size as the VISIBLE item box on the screen?
By default it is the same size which is good until the item leaves the visible page on the left/right. After that a translateX() gets added to the own content which moves my progressbar out of the container.
What I want:
Is there a way to achieve this without doing hacky things? I calculate the negative translate(X) on every event and with an interval right now which is just bad.
Thank you very much 🙂