diff --git a/src/components/room/RoomMessageBubble.tsx b/src/components/room/RoomMessageBubble.tsx index 655f918..2382d06 100644 --- a/src/components/room/RoomMessageBubble.tsx +++ b/src/components/room/RoomMessageBubble.tsx @@ -80,6 +80,7 @@ export const RoomMessageBubble = memo(function RoomMessageBubble({ const [isEditing, setIsEditing] = useState(false); const [editContent, setEditContent] = useState(message.content); const [isSavingEdit, setIsSavingEdit] = useState(false); + const [showReactionPicker, setShowReactionPicker] = useState(false); const containerRef = useRef(null); const isAi = ['ai', 'system', 'tool'].includes(message.sender_type); @@ -119,6 +120,7 @@ export const RoomMessageBubble = memo(function RoomMessageBubble({ } catch (err) { console.warn('[RoomMessage] Failed to update reaction:', err); } + setShowReactionPicker(false); }, [roomId, message.id, message.reactions, wsClient]); const functionCalls = useMemo( @@ -394,7 +396,7 @@ export const RoomMessageBubble = memo(function RoomMessageBubble({ {!isEditing && !isRevoked && !isPending && (
{/* Add reaction */} - +