Skip to content

Commit 9a8146a

Browse files
Merge branch 'develop' into fix/thumbnails-not-deleted
2 parents 8a72729 + 1b17bb1 commit 9a8146a

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.changeset/clean-sloths-greet.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@rocket.chat/meteor": patch
3+
---
4+
5+
Fixes the send attachments option not working on iOS browsers by moving it from the composer dropdown menu to the composer primary actions.

apps/meteor/client/views/room/composer/messageBox/MessageBoxActionsToolbar/MessageBoxActionsToolbar.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ const MessageBoxActionsToolbar = ({
8181
createNew.push(allActions.createDiscussionAction);
8282

8383
if (variant === 'small') {
84-
featured.push(allActions.audioMessageAction);
85-
createNew.push(allActions.videoMessageAction, allActions.fileUploadAction);
84+
featured.push(allActions.audioMessageAction, allActions.fileUploadAction);
85+
createNew.push(allActions.videoMessageAction);
8686
} else {
8787
featured.push(allActions.audioMessageAction, allActions.videoMessageAction, allActions.fileUploadAction);
8888
}

apps/meteor/tests/e2e/message-composer.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ test.describe.serial('message-composer', () => {
3232
await page.setViewportSize({ width: 768, height: 600 });
3333
await poHomeChannel.sidenav.openChat(targetChannel);
3434

35-
await expect(poHomeChannel.composerToolbarActions).toHaveCount(5);
35+
await expect(poHomeChannel.composerToolbarActions).toHaveCount(6);
3636
});
3737

3838
test('should navigate on toolbar using arrow keys', async ({ page }) => {

0 commit comments

Comments
 (0)