mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Sending the top and left position tweaks with the action
This commit is contained in:
parent
50bb4edd1c
commit
2d827a75a6
@ -52,6 +52,8 @@ module.exports = React.createClass({
|
|||||||
action: 'view_tooltip',
|
action: 'view_tooltip',
|
||||||
tooltip: null,
|
tooltip: null,
|
||||||
parent: null,
|
parent: null,
|
||||||
|
top: null,
|
||||||
|
left: null,
|
||||||
});
|
});
|
||||||
|
|
||||||
ReactDOM.unmountComponentAtNode(this.tooltipContainer);
|
ReactDOM.unmountComponentAtNode(this.tooltipContainer);
|
||||||
@ -90,6 +92,8 @@ module.exports = React.createClass({
|
|||||||
action: 'view_tooltip',
|
action: 'view_tooltip',
|
||||||
tooltip: this.tooltip,
|
tooltip: this.tooltip,
|
||||||
parent: parent,
|
parent: parent,
|
||||||
|
top: this.props.top,
|
||||||
|
left: this.props.left,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user