Hidden Timeline button

I searched for this issue. The closest one is Timeline button hidden behind draft. But it’s not the same.

The problem is the Timeline button doesn’t show up at all.

I’m using the default settings (except TOC min heading which is 2 and the list of categories) and there’s no option to hide or show that button. So, I assume it was supposed to show up whenever the TOC is shown, unless maybe hidden by custom CSS.

I checked the styles and it seems the ancestor is hidden of course, but that Timeline button hides with that; if I toggle this style, the button will show up too:

.d-toc-active .timeline-container {
    display: none;
}

The timeline will show when you reach the 2nd post. If you click ‘jump to end’ and scroll down to the 2nd post/1st reply, the timeline of all the posts will appear. It is only hidden for the topic post when the toc is present, if I’m not wrong.

EDIT: Found the relevant bit in the topic post of the component:

1 Like

@NateDhaliwal It seems it doesn’t work exactly like that: “So, first posts get the toc, and subsequent posts get the regular topic progress widget.”. I just needed a reply for that Timeline button (not the timeline itself) to show up. But it’ll show the TOC, even if I scroll down to the second post, until I click on the Timeline button.

Anyway, this behavior is also OK on my side. Thanks a lot.

1 Like

Did you scroll down enough for it to be counted that you are viewing the reply? What about 2/3 replies - does the tmeline show up if you scroll to them?

1 Like

@NateDhaliwal Yes. But I added another reply, and now it works as you said. I guess the height of the previous reply wasn’t enough. Thanks.

1 Like

Glad you got it working :tada:!

1 Like