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:
Alex Gleason 2022-05-01 18:51:19 +00:00
commit 1e2bccc728

View file

@ -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 = () => {