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(onboarding): make product selection continue button reachable on mobile (#63150)

Fernando Gomesca2547824c85
diff --git a/frontend/src/scenes/onboarding/productSelection/ProductSelection.tsx b/frontend/src/scenes/onboarding/productSelection/ProductSelection.tsx
index 1b28a0ad86aa..adb03f42e408 100644
--- a/frontend/src/scenes/onboarding/productSelection/ProductSelection.tsx
+++ b/frontend/src/scenes/onboarding/productSelection/ProductSelection.tsx
@@ -252,8 +252,11 @@ export function ProductSelection(): JSX.Element {
const { currentStep } = useValues(productSelectionLogic)
return (
- <div className="flex flex-col flex-1 w-full min-h-full p-4 items-center justify-center bg-primary overflow-x-hidden">
- <div className="flex flex-col items-center justify-center flex-grow w-full">
+ // On mobile, top-align so the scroll container grows with the content (centering inside min-h-full hides the
+ // Continue button behind the browser chrome and prevents scrolling to it). The bottom padding clears the chrome
+ // / device notch, mirroring the --scene-padding-bottom formula in Navigation.scss. Desktop (sm+) is unchanged.
+ <div className="flex flex-col flex-1 w-full min-h-full p-4 pb-[max(env(safe-area-inset-bottom),80px)] sm:pb-4 items-center justify-start sm:justify-center bg-primary overflow-x-hidden">
+ <div className="flex flex-col items-center justify-start sm:justify-center flex-grow w-full">
{currentStep === 'choose_path' && <ChoosePathStep />}
{currentStep === 'product_selection' && <ProductSelectionStep />}
{currentStep === 'choose_path' && <OnboardingExitAction />}