diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-08-01 19:17:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-01 19:17:17 +0200 |
commit | 2dee293c4c98486d387105224023fad02b8b0d96 (patch) | |
tree | ea40adfa08da1bf5f478c370f10b17c3024f0f40 /app/javascript/mastodon/features/list_timeline/index.js | |
parent | 8b9d0a05337b6bcf57b51abf45e21d9474bf2684 (diff) |
Fix scroll to top in single column UI (#11463)
Diffstat (limited to 'app/javascript/mastodon/features/list_timeline/index.js')
-rw-r--r-- | app/javascript/mastodon/features/list_timeline/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/list_timeline/index.js b/app/javascript/mastodon/features/list_timeline/index.js index 844c93db1..f3205b2bf 100644 --- a/app/javascript/mastodon/features/list_timeline/index.js +++ b/app/javascript/mastodon/features/list_timeline/index.js @@ -148,14 +148,14 @@ class ListTimeline extends React.PureComponent { } else if (list === false) { return ( <Column> - <ColumnBackButton /> + <ColumnBackButton multiColumn={multiColumn} /> <MissingIndicator /> </Column> ); } return ( - <Column ref={this.setRef} label={title}> + <Column bindToDocument={!multiColumn} ref={this.setRef} label={title}> <ColumnHeader icon='list-ul' active={hasUnread} |