Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 6e5847e

Browse files
committed
Fix right clicking on add reactions prompt button behaviour
1 parent a22a191 commit 6e5847e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/views/messages/ReactionsRow.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ const ReactButton = ({ mxEvent, reactions }: IProps) => {
5050
})}
5151
title={_t("Add reaction")}
5252
onClick={openMenu}
53+
onContextMenu={e => {
54+
e.preventDefault();
55+
openMenu();
56+
}}
5357
isExpanded={menuDisplayed}
5458
inputRef={button}
5559
/>

0 commit comments

Comments
 (0)