Skip to content

Commit

Permalink
regression: sidebar scrolling horizontally (#35048)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliajforesti authored Jan 29, 2025
1 parent 64685ca commit 4909e1c
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/meteor/client/sidebarv2/RoomMenu.tsx
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ const RoomMenu = ({ rid, unread, threadUnread, alert, roomOpen, type, cl, name =
const isUnread = alert || unread || threadUnread;
const sections = useRoomMenuActions({ rid, type, name, isUnread, cl, roomOpen, hideDefaultOptions });

return <GenericMenu detached className='rcx-sidebar-item__menu' title={t('Options')} mini aria-keyshortcuts='alt' sections={sections} />;
return <GenericMenu detached title={t('Options')} mini aria-keyshortcuts='alt' sections={sections} />;
};

export default memo(RoomMenu);
2 changes: 1 addition & 1 deletion apps/meteor/tests/e2e/page-objects/fragments/sidebar.ts
Original file line number Diff line number Diff line change
@@ -78,7 +78,7 @@ export class Sidebar {
async markItemAsUnread(item: Locator): Promise<void> {
await item.hover();
await item.focus();
await item.locator('.rcx-sidebar-item__menu').click();
await item.getByRole('button', { name: 'Options', exact: true }).click();
await this.page.getByRole('menuitem', { name: 'Mark Unread' }).click();
}

0 comments on commit 4909e1c

Please # to comment.