Merge pull request #4930 from matrix-org/t3chguy/room-list/14380

Don't render the context menu within its trigger otherwise unhandled clicks bubble
pull/21833/head
Michael Telatynski 2020-07-08 19:13:20 +01:00 committed by GitHub
commit 3abf1586f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -347,8 +347,8 @@ export default class UserMenu extends React.Component<IProps, IState> {
{name}
{buttons}
</div>
{this.renderContextMenu()}
</ContextMenuButton>
{this.renderContextMenu()}
</React.Fragment>
);
}