Emoji reply in 1:1 conversation should not discard reply text

This commit is contained in:
yash-signal
2026-02-04 13:27:58 -06:00
committed by GitHub
parent 8dc36374ca
commit 9f5d723a41
3 changed files with 7 additions and 3 deletions

View File

@@ -34,6 +34,11 @@
inset-inline-start: 0;
width: 100%;
align-items: center;
pointer-events: none;
& * {
pointer-events: auto;
}
}
}

View File

@@ -938,7 +938,6 @@ export function StoryViewer({
onReact={emoji => {
onReactToStory(emoji, story);
if (!isGroupStory) {
setCurrentViewTarget(null);
showToast({ toastType: ToastType.StoryReact });
}
setReactionEmoji(emoji);

View File

@@ -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}