Fix right clicking on add reactions prompt button behaviour
This commit is contained in:
@@ -50,6 +50,10 @@ const ReactButton = ({ mxEvent, reactions }: IProps) => {
|
|||||||
})}
|
})}
|
||||||
title={_t("Add reaction")}
|
title={_t("Add reaction")}
|
||||||
onClick={openMenu}
|
onClick={openMenu}
|
||||||
|
onContextMenu={e => {
|
||||||
|
e.preventDefault();
|
||||||
|
openMenu();
|
||||||
|
}}
|
||||||
isExpanded={menuDisplayed}
|
isExpanded={menuDisplayed}
|
||||||
inputRef={button}
|
inputRef={button}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user