1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-15 14:49:09 +00:00

Grid view support drag drop item to path (#6429)

* feature - drag and drop file to target path in grid view

fix typo

* update target path item background color when drag enter

* fix bug - select-all checkbox is actived after the last item is moved to another path

* fix bug - drag drop action conflict with multi-select by keyboard

* remove console log

* fix type error
This commit is contained in:
Aries
2024-07-27 12:04:33 +08:00
committed by GitHub
parent 953f17e717
commit 559dfff42b
7 changed files with 85 additions and 9 deletions

View File

@@ -597,7 +597,6 @@ class DirentGridView extends React.Component {
onGridItemMouseDown = (event) => {
event.stopPropagation();
event.preventDefault();
if (event.button === 2) {
return;
}