Hide some components rather than unmounting (#2271)
Hide some components rather than unmounting them to allow to show again quickly and keep the view state such as the scrolled offset.
This commit is contained in:
1 parent
72c984e105
commit
cf845fed38
13 files changed
+167
-53
No files matched your search
@@ -62,6 +62,7 @@ class AccountTimeline extends React.PureComponent {
|
||||
|
||||
<StatusList
|
||||
prepend={<HeaderContainer accountId={this.props.params.accountId} />}
|
||||
scrollKey='account_timeline'
|
||||
statusIds={statusIds}
|
||||
isLoading={isLoading}
|
||||
hasMore={hasMore}
|
||||
|
||||
Reference in new issue
Block a user