UX: Remember scroll position in assign lists (#82)
This commit is contained in:
parent
bfb32aa2ea
commit
4d5169c445
|
@ -18,7 +18,9 @@
|
||||||
skipHeader=skipHeader
|
skipHeader=skipHeader
|
||||||
tagsForUser=tagsForUser
|
tagsForUser=tagsForUser
|
||||||
unassign=unassign
|
unassign=unassign
|
||||||
reassign=reassign}}
|
reassign=reassign
|
||||||
|
onScroll=onScroll
|
||||||
|
scrollOnLoad=scrollOnLoad}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#unless loadingMore}}
|
{{#unless loadingMore}}
|
||||||
<div class='alert alert-info'>
|
<div class='alert alert-info'>
|
||||||
|
|
|
@ -9,7 +9,9 @@
|
||||||
showInserted=(action "showInserted")
|
showInserted=(action "showInserted")
|
||||||
tagsForUser=tagsForUser
|
tagsForUser=tagsForUser
|
||||||
unassign=(action 'unassign')
|
unassign=(action 'unassign')
|
||||||
reassign=(action 'reassign')}}
|
reassign=(action 'reassign')
|
||||||
|
onScroll=saveScrollPosition
|
||||||
|
scrollOnLoad=true}}
|
||||||
|
|
||||||
{{conditional-loading-spinner condition=model.loadingMore}}
|
{{conditional-loading-spinner condition=model.loadingMore}}
|
||||||
{{/load-more}}
|
{{/load-more}}
|
||||||
|
|
|
@ -9,7 +9,9 @@
|
||||||
showInserted=(action "showInserted")
|
showInserted=(action "showInserted")
|
||||||
tagsForUser=tagsForUser
|
tagsForUser=tagsForUser
|
||||||
unassign=(action 'unassign')
|
unassign=(action 'unassign')
|
||||||
reassign=(action 'reassign')}}
|
reassign=(action 'reassign')
|
||||||
|
onScroll=saveScrollPosition
|
||||||
|
scrollOnLoad=true}}
|
||||||
|
|
||||||
{{conditional-loading-spinner condition=model.loadingMore}}
|
{{conditional-loading-spinner condition=model.loadingMore}}
|
||||||
{{/load-more}}
|
{{/load-more}}
|
||||||
|
|
Loading…
Reference in New Issue