diff options
author | unarist <m.unarist@gmail.com> | 2017-06-05 22:20:46 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-05 15:20:46 +0200 |
commit | c26cea262b7673b0b239dd1da6754e7788aa08d8 (patch) | |
tree | 5aeaca51ded65d0ce3c2c9a6f12e028fccae214b /app/javascript/mastodon/features/home_timeline | |
parent | 1f1d6bf2a07219c9dfd04db5b98e31a0543a7427 (diff) |
Prevent pinned columns from scroll to top on URL changing (#3586)
Diffstat (limited to 'app/javascript/mastodon/features/home_timeline')
-rw-r--r-- | app/javascript/mastodon/features/home_timeline/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/features/home_timeline/index.js b/app/javascript/mastodon/features/home_timeline/index.js index a0a62eaf6..a8d213340 100644 --- a/app/javascript/mastodon/features/home_timeline/index.js +++ b/app/javascript/mastodon/features/home_timeline/index.js @@ -81,6 +81,7 @@ class HomeTimeline extends React.PureComponent { <StatusListContainer {...this.props} + trackScroll={!pinned} scrollKey={`home_timeline-${columnId}`} type='home' emptyMessage={emptyMessage} |