about summary refs log tree commit diff
diff options
context:
space:
mode:
authorabcang <abcang1015@gmail.com>2017-09-04 03:31:51 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-09-03 20:31:51 +0200
commit334a633c2a7980dfce30b49c377d8ff8f85a9386 (patch)
tree55da1c9b6cff5da0d2a39cc600436fcf1e8c8203
parent8b12e3cc7f3d0876b7cfd57999e70fd001c6c45c (diff)
Fix a problem that notification column goes to top (#4792)
-rw-r--r--app/javascript/mastodon/features/notifications/index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/features/notifications/index.js b/app/javascript/mastodon/features/notifications/index.js
index c23560a43..b74473b9f 100644
--- a/app/javascript/mastodon/features/notifications/index.js
+++ b/app/javascript/mastodon/features/notifications/index.js
@@ -106,6 +106,7 @@ export default class Notifications extends React.PureComponent {
     const scrollContainer = (
       <ScrollableList
         scrollKey={`notifications-${columnId}`}
+        trackScroll={!pinned}
         isLoading={isLoading}
         hasMore={hasMore}
         emptyMessage={emptyMessage}