mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-14 23:18:54 +00:00
Emoji reply in 1:1 conversation should not discard reply text
This commit is contained in:
@@ -34,6 +34,11 @@
|
||||
inset-inline-start: 0;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
pointer-events: none;
|
||||
|
||||
& * {
|
||||
pointer-events: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -938,7 +938,6 @@ export function StoryViewer({
|
||||
onReact={emoji => {
|
||||
onReactToStory(emoji, story);
|
||||
if (!isGroupStory) {
|
||||
setCurrentViewTarget(null);
|
||||
showToast({ toastType: ToastType.StoryReact });
|
||||
}
|
||||
setReactionEmoji(emoji);
|
||||
|
||||
@@ -245,10 +245,10 @@ export function StoryViewsNRepliesModal({
|
||||
<ReactionPicker
|
||||
i18n={i18n}
|
||||
onPick={emoji => {
|
||||
if (!group) {
|
||||
onReact(emoji);
|
||||
if (!group && messageBodyText.length === 0) {
|
||||
onClose();
|
||||
}
|
||||
onReact(emoji);
|
||||
}}
|
||||
preferredReactionEmoji={preferredReactionEmoji}
|
||||
theme={ThemeType.dark}
|
||||
|
||||
Reference in New Issue
Block a user