nextcloud / nextcloud/photos

When navigating back from a viewed folder, the app always returns to the beginning of the list

Open
#2,811 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug feature: folders
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:

  1. Navigate to a folder that contains multiple folders with photos.
  2. Scroll down the screen in the mobile version to the desired folder.
  3. Open the folder.
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.