mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-22 06:51:21 +02:00
Use new managed prop for emoji composer menu
This commit is contained in:
parent
bf43144f6e
commit
809454e66a
@ -74,7 +74,7 @@ const EmojiButton = ({addEmoji}) => {
|
|||||||
if (menuDisplayed) {
|
if (menuDisplayed) {
|
||||||
const buttonRect = button.current.getBoundingClientRect();
|
const buttonRect = button.current.getBoundingClientRect();
|
||||||
const EmojiPicker = sdk.getComponent('emojipicker.EmojiPicker');
|
const EmojiPicker = sdk.getComponent('emojipicker.EmojiPicker');
|
||||||
contextMenu = <ContextMenu {...aboveLeftOf(buttonRect)} onFinished={closeMenu}>
|
contextMenu = <ContextMenu {...aboveLeftOf(buttonRect)} onFinished={closeMenu} managed={false}>
|
||||||
<EmojiPicker onChoose={addEmoji} showQuickReactions={true} />
|
<EmojiPicker onChoose={addEmoji} showQuickReactions={true} />
|
||||||
</ContextMenu>;
|
</ContextMenu>;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user