alexcode / vue2vis

A Vuejs 2 adapter for Visjs
MIT License
217 stars 59 forks source link

Time line is not visible when items object is empty #46

Closed zygisjas closed 4 years ago

zygisjas commented 5 years ago

I have a weird issue, when I want to render a time line without any items, time line itself is invisible, i can see it in html code in dev-tools, but in browsers window It appears as invisible

alexcode commented 5 years ago

@zygisjas, any repro steps or JSFiddle ?

NLegendre commented 5 years ago

Hi @zygisjas

I had the same problem. A solution I found was to use some css :

.vis-timeline {
    visibility: visible !important;
}

To force the timeline to be visible all the time.

alexcode commented 4 years ago

@zygisjas, this is not related to this wrapper but to visjs itself. Please follow the solution provided by @NLegendre.