mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 17:33:18 +00:00
fix click dirent no close popover (#5961)
This commit is contained in:
@@ -265,8 +265,8 @@ class DirentListView extends React.Component {
|
|||||||
|
|
||||||
// common contextmenu handle
|
// common contextmenu handle
|
||||||
onMouseDown = (event) => {
|
onMouseDown = (event) => {
|
||||||
event.stopPropagation();
|
|
||||||
if (event.button === 2) {
|
if (event.button === 2) {
|
||||||
|
event.stopPropagation();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user