The topic timeline doesn't open in certain browser widths if you have less than 3 posts

So yes this code is responsible of it and it happens at some specific window to topic ratio height.

But what I fail to understand is, what is the expected behavior? I can just remove this check and it will work, but I guess we added this for a reason?

@eviltrout you made this initial feature https://github.com/discourse/discourse/commit/79763a6b97ae3d6c564f243e59e87b721da1ead4

Is this not valid anymore? is the formula wrong? I think it’s triggering here when the topic is not actually so huge, so maybe we should fix this?

Also I discovered that all suggested topics was used in in this topic height computation ${"#topic").css("background", "red"):

Maybe this is what changed since you made it.

6 Likes