fix: prevent context menu clicks from clearing file selection (#5681)

This commit is contained in:
Andy authored and GitHub committed 2026-01-17 22:57:01 +01:00
1 parent 037e29a708
commit 59ca0c340a
1 file changed
+3
+3
View File
@@ -1059,6 +1059,9 @@ const handleEmptyAreaClick = (e: MouseEvent) => {
if (target.closest("item") || target.closest(".item")) return;
// Do not clear selection when clicking on context menu actions
if (target.closest(".context-menu")) return;
fileStore.selected = [];
};
</script>