mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 08:28:11 +00:00
repair tree-view interactive bug
This commit is contained in:
@@ -139,6 +139,10 @@ class TreeView extends React.Component {
|
||||
handleContextClick = (event, node) => {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
|
||||
if (!this.props.isNodeMenuShow) {
|
||||
return;
|
||||
}
|
||||
|
||||
let x = event.clientX || (event.touches && event.touches[0].pageX);
|
||||
let y = event.clientY || (event.touches && event.touches[0].pageY);
|
||||
|
Reference in New Issue
Block a user