Skip to content

Initial render is extremely slow when options include start or end time #1340

Open
@TheophileMot

Description

@TheophileMot

When the options object includes start or end, it takes second or two to load the timeline. This runs contrary to the documentation, which states that load time is sped up by including these parameters.

Minimal reproduction: https://codepen.io/theophilemot/pen/xxPMBBN

This loads two timelines, one with start and end, and the other without. Even though there is only a single item, it takes a second to render the first timeline.

Further examples can be seen in the official demos: compare this fast demo to this slow demo. Try refreshing the page on each of these; in the second case, the timeline takes a second or two to appear. (Again, it isn't the number of items that matters, but the presence of start/end.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions