- {QUICK_REACTIONS.map((emoji, index) => (
-
- ))}
-
+ className={`context-menu-reaction-bar ${reactionBarPosition} ${isEmojiMenuExpanded ? "expanded" : ""} ${expandUpward ? "expand-upward" : ""}`}
+ style={isEmojiMenuExpanded && !expandUpward ? {
+ position: 'fixed',
+ top: `${(-(contextMenuHeight || 0) + 5)}px`,
+ width: '320px',
+ height: '400px',
+ zIndex: 1001
+ } : initialDimensions && !isEmojiMenuExpanded ? {
+ width: `${initialDimensions.width}px`,
+ height: `${initialDimensions.height}px`
+ } : {}}>
+ {!isEmojiMenuExpanded ? (
+
+ {QUICK_REACTIONS.map((emoji, index) => (
+
+ ))}
+
+
+ ) : (
+
+
+
+ )}
{/* Context Menu */}