mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 12:16:53 +02:00
Merge pull request #4708 from matrix-org/dbkr/bind_tooltip_render
Fix exceptions from Tooltip
This commit is contained in:
commit
ddc9c67a8b
@ -94,7 +94,7 @@ export default class Tooltip extends React.Component<IProps> {
|
||||
return style;
|
||||
}
|
||||
|
||||
private renderTooltip() {
|
||||
private renderTooltip = () => {
|
||||
// Add the parent's position to the tooltips, so it's correctly
|
||||
// positioned, also taking into account any window zoom
|
||||
// NOTE: The additional 6 pixels for the left position, is to take account of the
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user