-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Conversation
I like it |
docs/timeline/index.html
Outdated
<td>heightMode</td> | ||
<td>String</td> | ||
<td>no</td> | ||
<td>This field is optional. If set this overrides the global <code>groupHeightMode</code> configuration option for this group.</td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please all the valid option ('auto' and 'fixed') to this description.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, done.
@francescogc Also please update your feature branch to the current develop branch ( |
@mojoaxel feature branch is now up to date but I can't scroll anymore in the timeline... Is it just for me? :\ |
I fixed it. My mistake in a previous PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
It is important to mention that using this mode will hinder performance for many items on the same group.
Hi! |
If so, in which version? I couldn't find it in the latest distributable |
* add heightMode option * add documentation * improve documentation
Hi everyone, long time lurker here, I absolutely love this project and since I have made several changes to the library over the past few months (for a project at work) I think it's time to say thank you with a couple of PRs.
Here's the first one: it adds a global parameter called
groupHeightMode
that can be overriden by a group and can have two values: 'auto' or 'fixed'. Basically it specifies how the height of a group gets calculated. If it's set to 'auto' the height is calculated based on the visibile items, like always. On the other hand, with the 'fixed' value the group keeps the same height even if there are no visible items in the timeline at that moment.I think it's a nice feature to have, hope to see it in some future version :)