1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 07:01:12 +00:00

Grid view support multi-select by drag (#6420)

* grid view support multiple selection by drag

* fix conflict with multiple selection by keyboard

* improve selection experience and code format

* fix bug - select failed when file name include '...'
This commit is contained in:
Aries
2024-07-26 17:15:18 +08:00
committed by GitHub
parent fa46b89b0d
commit 3a06447faf
9 changed files with 211 additions and 20 deletions

View File

@@ -46,6 +46,7 @@ class ViewFileToolbar extends React.Component {
};
onDropDownMouseMove = (e) => {
e.preventDefault();
if (this.state.isSubMenuShown && e.target && e.target.className === 'dropdown-item') {
this.setState({
isSubMenuShown: false