Skip to content

Conversation

@ArielLeyva
Copy link
Contributor

Description

When you click in the file and directory listing area, if you clicked in an empty area (i.e., you did not click on a file or directory card), the selection is cleared (if one or more files or directories were selected).

Additional Information

Closes #5660

Checklist

Before submitting your PR, please indicate which issues are either fixed or closed by this PR. See GitHub Help: Closing issues using keywords.

  • I am aware the project is currently in maintenance-only mode. See README
  • I am aware that translations MUST be made through Transifex and that this PR is NOT a translation update
  • I am making a PR against the master branch.
  • I am sure File Browser can be successfully built. See builds and development.

@ArielLeyva ArielLeyva requested a review from a team as a code owner January 4, 2026 00:36
@hacdias
Copy link
Member

hacdias commented Jan 10, 2026

Does it also work if you click somewhere else within page that is not the listing div? And would that be something we want?

…ound-does-not-deselect-files-(Mobile/Desktop)
…ound-does-not-deselect-files-(Mobile/Desktop)
@ArielLeyva
Copy link
Contributor Author

Does it also work if you click somewhere else within page that is not the listing div? And would that be something we want?

No, it only happens when you click on an empty area of ​​the file and directory listing div, similar to how it works in Windows File Explorer. I think extending it to the rest of the interface could be confusing.

@hacdias
Copy link
Member

hacdias commented Jan 10, 2026

You have a point, I just tested it on macOS too and it behaves the same as on Windows

@hacdias hacdias merged commit 208535a into filebrowser:master Jan 10, 2026
6 checks passed
@starry-shivam
Copy link

Thanks, this was one of the pain points for me, and I had to refresh the page in the browser to clear the selection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

[UX] Clicking empty background does not deselect files (Mobile/Desktop)

3 participants