mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
use a way of unmounting the tooltip that seems to work 100% of the time
¯\_(ツ)_/¯
This commit is contained in:
parent
55c1c5e582
commit
44e68f16ba
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue