-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[Timeline] margin configuration option is "broken" #2626
Comments
Set the margin.vertical to -0.5
|
*margin.item.horizontal
|
Thank you, your solution works. Is it intended behaviour to use a negative value? Seems more like a hack to me? |
It is kind of a hack. There is a bug that i couldnt solve elegantly so in the meantime this solves it
|
@yotamberk Can you please refer to the issue number of that bug. |
found it: #2107 |
@mvdam See #2318 (comment) |
@mojoaxel Unfortunately I can't give you a live example of our timeline. However if you wish I can create lookalike for the examples page? |
@mvdam That would be amazing! At the moment almost all Timelines look the same. If you can com up with a nice styled example I'm more than happy to add it to our examples or showcases. |
When upgrading from v4.16.1 to v4.17.0 / v4.18.0 the margin configuration option seems to be "broken". Timeline items that were nicely aligned after each other are now pushed to a new row. See screenshots below;
At v4.16.1 it works fine!
When upgrading to v4.17.0 / v4.18.0 the layout is somewhat broken.
We use the following configuration for "margin".
margin: { axis: 5, item : { vertical: 0, horizontal: 0 } }
Although the margin options still work, you cannot use a value of
0
to prevent items from being pushed to a new row.The text was updated successfully, but these errors were encountered: