From 44e68f16bab94f62cc479bb23007b77773cb817e Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 2 Oct 2019 14:32:08 +0200 Subject: [PATCH] use a way of unmounting the tooltip that seems to work 100% of the time MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ¯\_(ツ)_/¯ --- src/components/views/elements/InteractiveTooltip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/elements/InteractiveTooltip.js b/src/components/views/elements/InteractiveTooltip.js index bcad8bc6bb..0bb356c5ba 100644 --- a/src/components/views/elements/InteractiveTooltip.js +++ b/src/components/views/elements/InteractiveTooltip.js @@ -271,8 +271,8 @@ export default class InteractiveTooltip extends React.Component { renderTooltip() { const { contentRect, visible } = this.state; - ReactDOM.unmountComponentAtNode(getOrCreateContainer()); if (this.props.forceHidden === true || !visible) { + ReactDOM.render(null, getOrCreateContainer()); return null; }