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
Unticking a file navigates to another folder when the folder name contains # #4143
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
Unticking a file after closing it in an app navigates to another folder when the current folder name contains #. resetScrollToParam in useResourcesViewDefaults.ts pushes the spread current route with decoded params, so everything after # gets lost.
Reproduction Steps
Have sibling folders Doc and Doc#A, with right.txt in Doc#A
Open Doc#A, open right.txt in the text editor and close it again (the file is selected, the URL has scrollTo)
Untick right.txt
Expected Outcome
The selection is cleared and the view stays in Doc#A.
Actual Outcome
The view switches to Doc without any notice, and a new history entry is added.
Activity