Skip to content

Commit f8c9600

Browse files
authored
fix: allow flipping message actions context menu (#3130)
1 parent 04f6998 commit f8c9600

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/components/MessageActions/MessageActions.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,7 @@ export const MessageActions: MessageActionsInterface = ({
116116
<>
117117
<quickDropdownToggleAction.Component ref={setActionsBoxButtonElement} />
118118

119-
{/* Stacked submenu changes height; without this, flip() can swap top↔bottom on updateKey. */}
120119
<ContextMenuComponent
121-
allowFlip={false}
122120
backLabel={t('Back')}
123121
className={clsx('str-chat__message-actions-box', {
124122
'str-chat__message-actions-box--hidden':

src/components/Reactions/ReactionSelectorWithButton.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export const ReactionSelectorWithButton = ({
4040
<DialogAnchor
4141
dialogManagerId={dialogManager?.id}
4242
id={dialogId}
43+
offset={8}
4344
placement={isMyMessage() ? 'top-end' : 'top-start'}
4445
referenceElement={buttonRef.current}
4546
trapFocus

0 commit comments

Comments
 (0)