diff --git a/packages/components/src/tooltip/index.js b/packages/components/src/tooltip/index.js index 6cfc0a39c597dc..ca19890f8cbc66 100644 --- a/packages/components/src/tooltip/index.js +++ b/packages/components/src/tooltip/index.js @@ -168,6 +168,7 @@ function Tooltip( { children, position, text, shortcut } ) { }; const clearOnUnmount = () => { delayedSetIsOver.cancel(); + document.removeEventListener( 'mouseup', cancelIsMouseDown ); }; useEffect( () => clearOnUnmount, [] );