Fix usages of useContextMenu which never pass the ref to the element (#9449)
This commit is contained in:
parent
450ddbe2b0
commit
0ef8c80815
2 changed files with 5 additions and 4 deletions
|
@ -179,6 +179,7 @@ const EmojiButton: React.FC<IEmojiButtonProps> = ({ addEmoji, menuPosition }) =>
|
|||
iconClassName="mx_MessageComposer_emoji"
|
||||
onClick={openMenu}
|
||||
title={_t("Emoji")}
|
||||
inputRef={button}
|
||||
/>
|
||||
|
||||
{ contextMenu }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue