A platform for community discussion. Free, open, simple.
FIX: Correctly set scroll position when viewing a tag's topic list. (#11612)
Roman Rizzi024d91410daa
diff --git a/app/assets/javascripts/discourse/app/templates/tags/show.hbs b/app/assets/javascripts/discourse/app/templates/tags/show.hbsindex 3fa58ca55e7..f0d552250b1 100644--- a/app/assets/javascripts/discourse/app/templates/tags/show.hbs+++ b/app/assets/javascripts/discourse/app/templates/tags/show.hbs@@ -47,7 +47,7 @@<div id="list-area">{{#unless loading}}{{#if list.topics}}- {{#discovery-topics-list model=list refresh=(action "refresh")}}+ {{#discovery-topics-list model=list refresh=(action "refresh") as |discoveryTopicList|}}{{bulk-select-button selected=selected action=(action "refresh") category=category}}{{topic-listtopics=list.topics@@ -59,6 +59,7 @@order=orderascending=ascendingchangeSort=(action "changeSort")+ onScroll=discoveryTopicList.saveScrollPositionscrollOnLoad=true}}{{/discovery-topics-list}}