mirror of https://github.com/vector-im/riot-web
Make the menu show up where it was before
parent
411271422c
commit
588fea3a9b
|
@ -204,7 +204,7 @@ export default class UserMenu extends React.Component<IProps, IState> {
|
||||||
return (
|
return (
|
||||||
<ContextMenu
|
<ContextMenu
|
||||||
chevronFace="none"
|
chevronFace="none"
|
||||||
left={elementRect.left}
|
left={elementRect.width + elementRect.left}
|
||||||
top={elementRect.top + elementRect.height}
|
top={elementRect.top + elementRect.height}
|
||||||
onFinished={this.onCloseMenu}
|
onFinished={this.onCloseMenu}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue