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

fix click dirent no close popover (#5961)

This commit is contained in:
Michael An
2024-02-23 16:21:51 +08:00
committed by GitHub
parent 8a7850a7dc
commit 9ff9a5610a

View File

@@ -265,8 +265,8 @@ class DirentListView extends React.Component {
// common contextmenu handle
onMouseDown = (event) => {
event.stopPropagation();
if (event.button === 2) {
event.stopPropagation();
return;
}
};