Merge branch 'reply-stop-propagation' into 'develop'
StatusActionBar: stopPropagation on reply click See merge request soapbox-pub/soapbox-fe!1287
This commit is contained in:
commit
1e2bccc728
1 changed files with 3 additions and 1 deletions
|
@ -129,7 +129,7 @@ class StatusActionBar extends ImmutablePureComponent<IStatusActionBar, IStatusAc
|
|||
'emojiSelectorFocused',
|
||||
]
|
||||
|
||||
handleReplyClick = () => {
|
||||
handleReplyClick: React.MouseEventHandler = (e) => {
|
||||
const { me, onReply, onOpenUnauthorizedModal, status } = this.props;
|
||||
|
||||
if (me) {
|
||||
|
@ -137,6 +137,8 @@ class StatusActionBar extends ImmutablePureComponent<IStatusActionBar, IStatusAc
|
|||
} else {
|
||||
onOpenUnauthorizedModal('REPLY');
|
||||
}
|
||||
|
||||
e.stopPropagation();
|
||||
}
|
||||
|
||||
handleShareClick = () => {
|
||||
|
|
Loading…
Reference in a new issue