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 лайков

Да, это не задумывалось так. Переименовываем в Contribute > UX.

Это небольшой баг, который мы хотим исправить.

@nbianca, можешь быстро взглянуть? Упомяни @eviltrout, чтобы получить советы — он реализовал оригинальный функционал «запоминания» для /latest и т. д.

8 лайков

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 лайков