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') { |     } else if (action === 'mouseleave') { | ||||||
|       if (ganttEvent.action === 'mouseenter') { |       if (ganttEvent.action === 'mouseenter') { | ||||||
|  |         setTimeout(() => { | ||||||
|           setGanttEvent({ action: '' }); |           setGanttEvent({ action: '' }); | ||||||
|  |         }, 300); | ||||||
|       } |       } | ||||||
|     } else if (action === 'dblclick') { |     } else if (action === 'dblclick') { | ||||||
|       !!onDoubleClick && onDoubleClick(task); |       !!onDoubleClick && onDoubleClick(task); | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user