Use a default for `ignoreHover` when not supplied (#8617)
It is considered optional by the component props, so let's treat it as optional.pull/28788/head^2
							parent
							
								
									12cee6e29f
								
							
						
					
					
						commit
						5f8aecaf08
					
				|  | @ -43,7 +43,7 @@ const TooltipTarget: React.FC<IProps> = ({ | |||
|     ...rest | ||||
| }) => { | ||||
|     const [isFocused, focusProps] = useFocus(); | ||||
|     const [isHovering, hoverProps] = useHover(ignoreHover); | ||||
|     const [isHovering, hoverProps] = useHover(ignoreHover || (() => false)); | ||||
| 
 | ||||
|     // No need to fill up the DOM with hidden tooltip elements. Only add the
 | ||||
|     // tooltip when we're hovering over the item (performance)
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Travis Ralston
						Travis Ralston