Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ui/main_logic.js
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,10 @@ document.addEventListener("mousedown", (e) => {
!e.target.closest(".context-menu") &&
!e.target.closest(".props-card") &&
!e.target.closest(".delete-popup") &&
// Clicks inside the item preview or on any part of a file/folder entry
// must not reset the selection, otherwise arrow navigation restarts at the top
!e.target.closest(".item-preview-popup") &&
!e.target.closest(".item-link") &&
!e.target.classList.contains("context-item-icon") &&
!e.target.classList.contains("context-item") &&
!e.target.classList.contains("open-with-item") &&
Expand Down
Loading