Download & Extend

Autowidth not working right - Initial height too small.

Project:Timeline
Version:6.x-2.1
Component:Configuration
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi everybody,

the title says it all: Autowidth is working, but the initial height from the timeline is too small.
If you klick it, it wil have the right height instantly (no smooth animation). I tried to leave height blank under "display settings", but then there is no timeline at all.

Anyone with the same problem ? I tried it on different drupal installations and got always the same problem.

(This is a big issue if the timeline starts with many events, as many events will not be shown and nobody will know there are more events without klicking it.)

Comments

#1

Here is a good workaround for everybody with the same problem: If you move the timeline by 1px, everything will be fine.

Here you go: timeline.getBand(0)._autoScroll(1);

As an alternative, you can start the timeline at a moment where you know the width and do it in css.