Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(tasks): keep composer send button reachable on mobile browsers (#72406)

Andrew Maguiredfcb7cb430ae
diff --git a/frontend/src/layout/navigation-3000/Navigation.scss b/frontend/src/layout/navigation-3000/Navigation.scss
index 7a21c3eff81c..9061f55fe30f 100644
--- a/frontend/src/layout/navigation-3000/Navigation.scss
+++ b/frontend/src/layout/navigation-3000/Navigation.scss
@@ -41,6 +41,11 @@
display: flex;
width: 100%;
height: 100vh;
+
+ // On mobile browsers 100vh includes the area behind the collapsible browser toolbar, pushing
+ // bottom-anchored UI (chat composers, sticky footers) out of the visible viewport with no way to
+ // scroll to it. dvh tracks the actually-visible viewport; 100vh above stays as the fallback.
+ height: 100dvh;
overflow: hidden;
background: var(--color-bg-primary);
@@ -89,6 +94,7 @@
display: flex;
flex-direction: column;
height: 100vh;
+ height: 100dvh; // see .Navigation3000 — keep bottom-anchored UI reachable on mobile
}
}
@@ -723,6 +729,7 @@
display: grid;
grid-template: 'left content' 1fr / var(--left-nav-width) minmax(0, 1fr);
height: 100vh;
+ height: 100dvh; // see .Navigation3000 — keep bottom-anchored UI reachable on mobile
overflow: hidden;
.storybook-test-runner & {
diff --git a/products/posthog_ai/frontend/scenes/TaskTracker/components/TaskComposer.tsx b/products/posthog_ai/frontend/scenes/TaskTracker/components/TaskComposer.tsx
index 069cc2eefb25..6446706c99da 100644
--- a/products/posthog_ai/frontend/scenes/TaskTracker/components/TaskComposer.tsx
+++ b/products/posthog_ai/frontend/scenes/TaskTracker/components/TaskComposer.tsx
@@ -81,7 +81,7 @@ export function TaskComposer(): JSX.Element {
data-attr="task-composer-input"
/>
</Composer.Field>
- <Composer.Footer className="flex items-center gap-1 pl-2">
+ <Composer.Footer className="flex flex-wrap items-center gap-1 pl-2">
<ComposerModePicker
selectedMode={newTaskData.permissionMode}
onModeChange={(permissionMode) => setNewTaskData({ permissionMode })}
diff --git a/products/posthog_ai/frontend/scenes/TaskTracker/components/TaskRunChat.tsx b/products/posthog_ai/frontend/scenes/TaskTracker/components/TaskRunChat.tsx
index 7b2031a1feac..c284f2a8d4d4 100644
--- a/products/posthog_ai/frontend/scenes/TaskTracker/components/TaskRunChat.tsx
+++ b/products/posthog_ai/frontend/scenes/TaskTracker/components/TaskRunChat.tsx
@@ -164,7 +164,7 @@ function LiveComposer({ logicProps }: { logicProps: RunInteractionLogicProps }):
</Composer.Placeholder>
<Composer.Textarea data-attr="sandbox-composer-input" submitShortcut="cmd-enter" />
</Composer.Field>
- <Composer.Footer className="flex items-center gap-1 pl-2">
+ <Composer.Footer className="flex flex-wrap items-center gap-1 pl-2">
{/* Mode + model/effort pickers: selection lives in the bound runInteractionLogic and is
applied when the message is sent — synced to the running agent on a follow-up,
or used to seed the next run once terminal. */}