Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix[sidebar]: focus bug (#2398)

Peter Chinmanb2debd723c76
diff --git a/js/app/packages/app/component/app-sidebar/sidebar.tsx b/js/app/packages/app/component/app-sidebar/sidebar.tsx
index 0adf62b3ea..2d6fb406fb 100644
--- a/js/app/packages/app/component/app-sidebar/sidebar.tsx
+++ b/js/app/packages/app/component/app-sidebar/sidebar.tsx
@@ -609,6 +609,7 @@ const SidebarLink = (props: SidebarLinkProps) => {
allowDuplicate: true,
referredFrom: 'sidebar',
});
+ layoutManager?.returnFocus();
}}
>
<Show when={props.icon}>