From 510a5ee1a7aede1d11ac72142a48dd66c1b205c9 Mon Sep 17 00:00:00 2001 From: Dotta Date: Tue, 3 Mar 2026 13:21:37 -0600 Subject: [PATCH] fix: replace DialogOverlay with plain div to unblock onboarding scroll Radix's DialogOverlay wraps content in RemoveScroll, which blocks wheel events on elements not registered as DialogPrimitive.Content. Since the onboarding wizard uses a custom layout (not DialogContent), scroll events on the form container were being swallowed. Replacing with a plain div preserves the background appearance without the scroll-locking behavior. Co-Authored-By: Claude Opus 4.6 --- ui/src/components/OnboardingWizard.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ui/src/components/OnboardingWizard.tsx b/ui/src/components/OnboardingWizard.tsx index 3848587a..9d368f73 100644 --- a/ui/src/components/OnboardingWizard.tsx +++ b/ui/src/components/OnboardingWizard.tsx @@ -9,7 +9,7 @@ import { goalsApi } from "../api/goals"; import { agentsApi } from "../api/agents"; import { issuesApi } from "../api/issues"; import { queryKeys } from "../lib/queryKeys"; -import { Dialog, DialogOverlay, DialogPortal } from "@/components/ui/dialog"; +import { Dialog, DialogPortal } from "@/components/ui/dialog"; import { Popover, PopoverContent, @@ -374,7 +374,10 @@ export function OnboardingWizard() { }} > - + {/* Plain div instead of DialogOverlay — Radix's overlay wraps in + RemoveScroll which blocks wheel events on our custom (non-DialogContent) + scroll container. A plain div preserves the background without scroll-locking. */} +
{/* Close button */}