# 在 try.discourse.org 上，主题标题在页头消失

**URL:** <https://meta.discourse.org/t/the-name-of-the-topic-disappears-in-the-header-on-try-discourse-org/102537>\
**Category:** Bug\
**Created:** [2018年十一月22日 15:36 UTC](https://meta.discourse.org/t/the-name-of-the-topic-disappears-in-the-header-on-try-discourse-org/102537 "2018-11-22T15:36:41Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stranik](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stranik/32/85638_2.png) [@Stranik](https://meta.discourse.org/u/Stranik)\
**Post date:** [2018年十一月22日 15:36 UTC](https://meta.discourse.org/t/the-name-of-the-topic-disappears-in-the-header-on-try-discourse-org/102537/1 "2018-11-22T15:36:41Z")

</div>

First post

 ![1](https://global.discourse-cdn.com/meta/original/3X/e/f/ef9a490364da6fd9991f4cda699c91b94b5c9bb8.jpeg)

We go to the last

 ![2](https://global.discourse-cdn.com/meta/original/3X/7/c/7c12882772810416eb8a4baa4d23fb0d451796f8.jpeg)

[https://try.discourse.org/t/the-room-appreciation-topic/289/6](https://try.discourse.org/t/the-room-appreciation-topic/289/6)

This is especially noticeable if you refresh the page. Something is wrong with the behavior.

---

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [2018年十一月22日 15:43 UTC](https://meta.discourse.org/t/the-name-of-the-topic-disappears-in-the-header-on-try-discourse-org/102537/2 "2018-11-22T15:43:58Z")

</div>

Wasn’t this fixed recently? Regression?

---

<div class="post-metadata">

**Author:** ![Stranik](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stranik/32/85638_2.png) [@Stranik](https://meta.discourse.org/u/Stranik)\
**Post date:** [2018年十一月22日 15:47 UTC](https://meta.discourse.org/t/the-name-of-the-topic-disappears-in-the-header-on-try-discourse-org/102537/3 "2018-11-22T15:47:37Z")

</div>

> [@Stephen](#):
>
> Regression?

Maybe yes.

```plaintext
Discourse 2.2.0.beta4 - 80398d0b8f247459aefee06767f257c5d6fc5846
https://try.discourse.org

```

---

<div class="post-metadata">

**Author:** ![jesus2099](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jesus2099/32/119720_2.png) [@jesus2099](https://meta.discourse.org/u/jesus2099)\
**Post date:** [2018年十一月22日 16:06 UTC](https://meta.discourse.org/t/the-name-of-the-topic-disappears-in-the-header-on-try-discourse-org/102537/4 "2018-11-22T16:06:53Z")

</div>

That’s the normal behaviour of [the smart header](https://meta.discourse.org/t/smart-mobile-header/99846) (very new feature).

When you are in the middle of a topic, the header shows a mini logo, the topic title and category, etc. instead of the website header.  
This way we know what topic we are being reading.

* * *

But when you are at the top of the page, it displays the site header (as the topic title should be visible, at the top of the page).

And when you are at the very bottom of the page, and that you are no longer really in the topic, as are now in the **Suggested Topics** section, then here it also reverts to the site title.

---

<div class="post-metadata">

**Author:** ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)\
**Post date:** [2018年十一月22日 16:12 UTC](https://meta.discourse.org/t/the-name-of-the-topic-disappears-in-the-header-on-try-discourse-org/102537/5 "2018-11-22T16:12:05Z")

</div>

Except that’s not strictly true, it only does it below certain browser widths.

---

<div class="post-metadata">

**Author:** ![jesus2099](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jesus2099/32/119720_2.png) [@jesus2099](https://meta.discourse.org/u/jesus2099)\
**Post date:** [2018年十一月22日 16:15 UTC](https://meta.discourse.org/t/the-name-of-the-topic-disappears-in-the-header-on-try-discourse-org/102537/6 "2018-11-22T16:15:15Z")

</div>

I could not reproduce at first but indeed now if I go to your link and then I press End, it’s good but now I press F5 and indeed it’s no good (site title). Then I press End again and it’s back to good (topic title).

This will certainly be improved, it’s a very very new (great) feature.

---

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [2018年十一月22日 17:02 UTC](https://meta.discourse.org/t/the-name-of-the-topic-disappears-in-the-header-on-try-discourse-org/102537/7 "2018-11-22T17:02:54Z")

</div>

I am seeing the same thing, it looks like the mobile detection is not quite right.

cc @Johani

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2018年十一月22日 22:40 UTC](https://meta.discourse.org/t/the-name-of-the-topic-disappears-in-the-header-on-try-discourse-org/102537/9 "2018-11-22T22:40:25Z")

</div>

Confirmed, we should not be triggering any of this code on desktop, we will get it fixed quickly.

---

<div class="post-metadata">

**Author:** ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)\
**Post date:** [2018年十一月23日 02:16 UTC](https://meta.discourse.org/t/the-name-of-the-topic-disappears-in-the-header-on-try-discourse-org/102537/10 "2018-11-23T02:16:01Z")

</div>

Should be fixed via

[https://github.com/discourse/discourse/commit/c4fca3625543da7f9d60baa664ffe19def35d497](https://github.com/discourse/discourse/commit/c4fca3625543da7f9d60baa664ffe19def35d497)

Thanks for reporting @Stranik👍

---

<div class="post-metadata">

**Author:** ![Johani](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/johani/32/176920_2.png) [@Johani](https://meta.discourse.org/u/Johani)\
**Post date:** [2018年十一月24日 10:00 UTC](https://meta.discourse.org/t/the-name-of-the-topic-disappears-in-the-header-on-try-discourse-org/102537/11 "2018-11-24T10:00:01Z")

</div>

This topic was automatically closed after 31 hours. New replies are no longer allowed.
