Fix context menu being opened when clicking message action bar buttons (#9200)
This commit is contained in:
parent
e269c6895d
commit
3eecd68175
6 changed files with 155 additions and 59 deletions
|
@ -240,7 +240,7 @@ class EmojiPicker extends React.Component<IProps, IState> {
|
|||
render() {
|
||||
let heightBefore = 0;
|
||||
return (
|
||||
<div className="mx_EmojiPicker">
|
||||
<div className="mx_EmojiPicker" data-testid='mx_EmojiPicker'>
|
||||
<Header categories={this.categories} onAnchorClick={this.scrollToCategory} />
|
||||
<Search query={this.state.filter} onChange={this.onChangeFilter} onEnter={this.onEnterFilter} />
|
||||
<AutoHideScrollbar
|
||||
|
|
|
@ -134,7 +134,6 @@ class ReactionPicker extends React.Component<IProps, IState> {
|
|||
isEmojiDisabled={this.isEmojiDisabled}
|
||||
selectedEmojis={this.state.selectedEmojis}
|
||||
showQuickReactions={true}
|
||||
data-testid='mx_ReactionPicker'
|
||||
/>;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue