Merge pull request #4254 from Infisical/allow-click-outside-close-rotation-modal

improvement(frontend): remove click outside moda tol close disabling on various modals
This commit is contained in:
Daniel Hougaard
2025-07-28 21:06:33 +04:00
committed by GitHub
3 changed files with 0 additions and 3 deletions
@@ -76,7 +76,6 @@ export const CreateSecretRotationV2Modal = ({ onOpenChange, isOpen, ...props }:
</div> </div>
) )
} }
onPointerDownOutside={(e) => e.preventDefault()}
className={selectedRotation ? "max-w-2xl" : "max-w-3xl"} className={selectedRotation ? "max-w-2xl" : "max-w-3xl"}
subTitle={ subTitle={
selectedRotation ? undefined : "Select a provider to create a secret rotation for." selectedRotation ? undefined : "Select a provider to create a secret rotation for."
@@ -75,7 +75,6 @@ export const CreateSecretScanningDataSourceModal = ({ onOpenChange, isOpen, ...p
</div> </div>
) )
} }
onPointerDownOutside={(e) => e.preventDefault()}
className={selectedDataSource ? "max-w-2xl" : "max-w-3xl"} className={selectedDataSource ? "max-w-2xl" : "max-w-3xl"}
subTitle={ subTitle={
selectedDataSource ? undefined : "Select a data source to configure secret scanning for." selectedDataSource ? undefined : "Select a data source to configure secret scanning for."
@@ -56,7 +56,6 @@ export const CreateSecretSyncModal = ({ onOpenChange, selectSync = null, ...prop
"Add Sync" "Add Sync"
) )
} }
onPointerDownOutside={(e) => e.preventDefault()}
className="max-w-2xl" className="max-w-2xl"
bodyClassName="overflow-visible" bodyClassName="overflow-visible"
subTitle={selectedSync ? undefined : "Select a third-party service to sync secrets to."} subTitle={selectedSync ? undefined : "Select a third-party service to sync secrets to."}