When navigating back from a viewed folder, the app always returns to the beginning of the list
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 718
- Forks
- 91
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 76
Description
Describe the bug
When navigating back from a viewed folder, the app always returns to the beginning of the list.
The user interface should work correctly: if we return from a viewed folder, the screen should remain at the level of the folder we entered. This is a fundamental principle of UX.
To Reproduce
Steps to reproduce the behavior:
- Navigate to a folder that contains multiple folders with photos.
- Scroll down the screen in the mobile version to the desired folder.
- Open the folder.
- Go back.
Expected behavior
The screen remains at the scroll level from which we entered the folder.
Actual behavior
The screen returns to the top, requiring you to scroll down again and search for the next folder.
Screenshots
Video: https://static-cloud.nikolay1.ru/media/nc_photos_issues_att001.html
Desktop (please complete the following information):
- OS: Windows 24H2
- Browser Chome 132
Smartphone (please complete the following information):
- Device: Samsung Galaxy S20
- OS: Android 14
- Browser Chome 132
Browser log
No errors in browser console
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in the mobile folder view: scroll to a folder, open it, and navigate back. Trace the folder-list navigation entry point to identify where the previous scroll position is lost. Done means returning from a viewed folder restores the position from which it was opened, on the reported desktop and mobile browsers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100