Inconsistency on tag view

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, scroll down, visit a topic, then go back, it pops to the top of the list. Is this intended behavior?

7 Likes

Yeah this is not on purpose, recategorizing as #UX

It is a small glitch we want to fix.

@nbianca can you have a quick look, ping @eviltrout for tips here he implemented the original “remembering” for /latest etc.

8 Likes

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/pull/7511

9 Likes