mirror of https://github.com/vector-im/riot-web
Don't render the context menu within its trigger otherwise unhandled clicks will re-trigger
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
536238a9a3
commit
e2d65222a2
|
@ -347,8 +347,8 @@ export default class UserMenu extends React.Component<IProps, IState> {
|
||||||
{name}
|
{name}
|
||||||
{buttons}
|
{buttons}
|
||||||
</div>
|
</div>
|
||||||
{this.renderContextMenu()}
|
|
||||||
</ContextMenuButton>
|
</ContextMenuButton>
|
||||||
|
{this.renderContextMenu()}
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue