Prevent pinned columns from scroll to top on URL changing (#3586)
This commit is contained in:
parent
1f1d6bf2a0
commit
c26cea262b
6 changed files with 27 additions and 9 deletions
|
@ -125,6 +125,7 @@ class PublicTimeline extends React.PureComponent {
|
|||
<StatusListContainer
|
||||
{...this.props}
|
||||
type='public'
|
||||
trackScroll={!pinned}
|
||||
scrollKey={`public_timeline-${columnId}`}
|
||||
emptyMessage={<FormattedMessage id='empty_column.public' defaultMessage='There is nothing here! Write something publicly, or manually follow users from other instances to fill it up' />}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue