]> cat aescling's git repositories - mastodon.git/commitdiff
Fix a problem that notification column goes to top (#4792)
authorabcang <abcang1015@gmail.com>
Sun, 3 Sep 2017 18:31:51 +0000 (03:31 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 3 Sep 2017 18:31:51 +0000 (20:31 +0200)
app/javascript/mastodon/features/notifications/index.js

index c23560a4345b9d1c1362e707e4a3faa43259ab3d..b74473b9f5e84f063cb134939cdafc14f6ef37dd 100644 (file)
@@ -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}