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

12.0 grid view support multiple selection (#6403)

* Feature - multiple selection with ctrl/shift

* update grid view context menu list in multiple selection mode

* fix code format

* optimize codes
This commit is contained in:
Aries
2024-07-23 23:08:53 +08:00
committed by GitHub
parent 2bc5ef7957
commit be84e505d0
35 changed files with 220 additions and 103 deletions

View File

@@ -128,9 +128,9 @@ class LibContentContainer extends React.Component {
this.props.closeDirentDetail();
};
onDirentClick = (dirent) => {
onDirentClick = (dirent, event) => {
this.setState({ currentDirent: dirent });
this.props.onDirentClick(dirent);
this.props.onDirentClick(dirent, event);
};
onItemSelected = (dirent) => {