You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
Fix home/all rooms context menu in space panel (#11350)
* Fix home/all rooms context menu in space panel * Fix tests
This commit is contained in:
committed by
GitHub
parent
5d9f5ccf0b
commit
2f2067e434
@ -121,7 +121,7 @@ export const SpaceButton: React.FC<IButtonProps> = ({
|
||||
}
|
||||
|
||||
let contextMenu: JSX.Element | undefined;
|
||||
if (space && menuDisplayed && handle.current && ContextMenuComponent) {
|
||||
if (menuDisplayed && handle.current && ContextMenuComponent) {
|
||||
contextMenu = (
|
||||
<ContextMenuComponent
|
||||
{...toRightOf(handle.current.getBoundingClientRect(), 0)}
|
||||
|
Reference in New Issue
Block a user