prevent dialog from closing when clicking outside

This commit is contained in:
Josh Hawkins 2025-10-12 13:26:44 -05:00
parent 44ff205966
commit d113537c30

View File

@ -334,7 +334,12 @@ export default function CameraWizardDialog({
return (
<Dialog open={open} onOpenChange={handleClose}>
<DialogContent className="max-h-[90dvh] max-w-4xl overflow-y-auto">
<DialogContent
className="max-h-[90dvh] max-w-4xl overflow-y-auto"
onInteractOutside={(e) => {
e.preventDefault();
}}
>
<StepIndicator
steps={STEPS}
currentStep={currentStep}