You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Don't render the context menu within its trigger otherwise unhandled clicks will re-trigger
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user