# 标签视图存在不一致

**URL:** https://meta.discourse.org/t/inconsistency-on-tag-view/115337
**Category:** UX
**Created:** [2019年四月17日 18:52 UTC](https://meta.discourse.org/t/inconsistency-on-tag-view/115337 "2019-04-17T18:52:00Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![davidkingham](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/davidkingham/32/119528_2.png) [@davidkingham](https://meta.discourse.org/u/davidkingham)
#### Post date: [2019年四月17日 18:52 UTC](https://meta.discourse.org/t/inconsistency-on-tag-view/115337/1 "2019-04-17T18:52:00Z")

</div>

When browsing a tag view and you visit a topic, then go back to the tag, the position is not remembered, it jumps back to the top of the tag list. This happens on meta too, for example go [here](https://meta.discourse.org/tags/theme-component), scroll down, visit a topic, then go back, it pops to the top of the list. Is this intended behavior?

---

<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: [2019年四月24日 01:59 UTC](https://meta.discourse.org/t/inconsistency-on-tag-view/115337/2 "2019-04-24T01:59:21Z")

</div>

是的，这不是故意的，将其重新归类为 #Contribute > UX

这是一个我们想要修复的小故障。

@nbianca 你能快速看一下吗？在这里 @eviltrout 可以提供一些建议，他最初实现了 `/latest` 等的“记住”功能。

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [2019年五月9日 13:19 UTC](https://meta.discourse.org/t/inconsistency-on-tag-view/115337/4 "2019-05-09T13:19:24Z")

</div>

Short explanation of what was happening: Scroll position is stored by `discovery-topics-list` in session under `topicListScrollPosition`. `findTopicList` was instructed to clear the cache for tag pages, which [also clears the scroll position](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/routes/build-topic-route.js.es6#L42).

[https://github.com/discourse/discourse/pull/7511](https://github.com/discourse/discourse/pull/7511)

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [2019年五月9日 17:51 UTC](https://meta.discourse.org/t/inconsistency-on-tag-view/115337/5 "2019-05-09T17:51:32Z")

</div>


