Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File view resets to the initial position after closing image preview view #3577

Open
linzj opened this issue Nov 5, 2024 · 0 comments
Open

Comments

@linzj
Copy link

linzj commented Nov 5, 2024

Description:
After previewing an image file in FileBrowser, if I close the image preview view by clicking the close button (cross icon), the file view refreshes and returns to the initial position in the directory. This disrupts the browsing experience, especially in directories with a large number of files, as it requires re-scrolling to find my previous position.

Steps to Reproduce:

  1. Open FileBrowser and navigate to a directory with multiple image files.
  2. Scroll down and select an image file to open the preview view.
  3. After previewing, close the preview view using the close button (cross icon).
  4. Observe that the file view resets, returning to the initial position rather than maintaining the previous scroll position.

Expected Behavior:
When the image preview view is closed, the file view should retain its scroll position and not refresh back to the top of the directory.

Actual Behavior:
The file view refreshes and returns to the initial position in the directory upon closing the image preview view.

Environment:

  • FileBrowser Version: v2.31.2

Additional Context:
This issue affects usability when navigating directories with numerous image files. Implementing a way to maintain the scroll position after closing the preview would improve the user experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant