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[mobile]: stop background splits from focusing (#2632)

Peter Chinman06918badeea3
diff --git a/js/app/packages/app/component/split-layout/SplitLayout.tsx b/js/app/packages/app/component/split-layout/SplitLayout.tsx
index c7ae478ceb..00e9022671 100644
--- a/js/app/packages/app/component/split-layout/SplitLayout.tsx
+++ b/js/app/packages/app/component/split-layout/SplitLayout.tsx
@@ -185,6 +185,7 @@ function createSplitFocusTracker(props: {
const focusFromEvent = (event: SplitEventWithType) => {
switch (event.type) {
case SplitEvent.Insert: {
+ if (event.activate === false) break;
const splitId = event.splitId;
focusSplitById(splitId);
break;