You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
scrollTo links to a file on another page of a folder do nothing #4113
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
A scrollTo link to a file that isn't on the first page of a folder does nothing. This hits e.g. closing a file you opened from a permanent link. GenericSpace.vue only passes the current page (paginatedResources) to scrollToResourceFromRoute, so the file isn't found and the switch to its page never happens. Favorites, search results and the trash bin do the same, while the share views already pass all sorted items.
Reproduction Steps
Set 20 items per page and have a folder with 25 files
Open the permanent link of the 25th file and close the app it opens in (or open the folder with ?scrollTo=<id of the 25th file>)
Expected Outcome
The folder switches to page 2, selects the file and scrolls to it, like it does for a file on page 1.
Activity