Fixed: restoring scroll position when going back to index page

This commit is contained in:
ta264
2021-05-13 21:15:11 +01:00
parent 129591de61
commit 93f0f33e84
9 changed files with 54 additions and 9 deletions
+4 -1
View File
@@ -268,7 +268,10 @@ class AuthorDetails extends Component {
name={icons.ARROW_UP}
size={30}
title={translate('GoToAuthorListing')}
to={'/'}
to={{
pathname: '/',
state: { restoreScrollPosition: true }
}}
/>
<IconButton