mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-12 16:16:42 +03:00
prevent dialog from closing when clicking outside
This commit is contained in:
parent
44ff205966
commit
d113537c30
@ -334,7 +334,12 @@ export default function CameraWizardDialog({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Dialog open={open} onOpenChange={handleClose}>
|
<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
|
<StepIndicator
|
||||||
steps={STEPS}
|
steps={STEPS}
|
||||||
currentStep={currentStep}
|
currentStep={currentStep}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user