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:
@@ -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
|
||||
|
Reference in New Issue
Block a user