FIX: allows scroll on load for discovery topic list (#8661)

This commit is contained in:
Joffrey JAFFEUX 2020-01-06 15:43:36 +01:00 committed by GitHub
parent afff96ce54
commit ff151cb580
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 10 deletions

View File

@ -72,6 +72,7 @@
category=category
topics=model.topics
discoveryList=true
scrollOnLoad=true
onScroll=discoveryTopicList.saveScrollPosition}}
{{/if}}
{{/discovery-topics-list}}

View File

@ -13,16 +13,16 @@
{{#if hasTopics}}
{{topic-list
highlightLastVisited=true
showPosters=true
hideCategory=model.hideCategory
order=order
ascending=ascending
topics=model.topics
expandGloballyPinned=expandGloballyPinned
expandAllPinned=expandAllPinned
category=category
}}
highlightLastVisited=true
showPosters=true
hideCategory=model.hideCategory
order=order
ascending=ascending
topics=model.topics
expandGloballyPinned=expandGloballyPinned
expandAllPinned=expandAllPinned
scrollOnLoad=true
category=category}}
{{/if}}
{{/discovery-topics-list}}