refactor: gantt tooltip hover (#3328)
This commit is contained in:
parent
393b9f47c2
commit
c102655317
@ -214,7 +214,9 @@ export const TaskGanttContent: React.FC<TaskGanttContentProps> = ({
|
||||
}
|
||||
} else if (action === 'mouseleave') {
|
||||
if (ganttEvent.action === 'mouseenter') {
|
||||
setGanttEvent({ action: '' });
|
||||
setTimeout(() => {
|
||||
setGanttEvent({ action: '' });
|
||||
}, 300);
|
||||
}
|
||||
} else if (action === 'dblclick') {
|
||||
!!onDoubleClick && onDoubleClick(task);
|
||||
|
Loading…
Reference in New Issue
Block a user