Merge pull request #4930 from matrix-org/t3chguy/room-list/14380
Don't render the context menu within its trigger otherwise unhandled clicks bubblepull/21833/head
commit
3abf1586f9
|
@ -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