mirror of
https://github.com/langgenius/dify.git
synced 2026-03-31 18:00:55 -04:00
fix(web): force render sandbox provider dialog backdrops
This commit is contained in:
@@ -154,7 +154,7 @@ function ConfigModal({ provider, onClose }: ConfigModalProps) {
|
||||
|
||||
return (
|
||||
<Dialog open onOpenChange={open => !open && onClose()}>
|
||||
<DialogContent className="w-[480px]">
|
||||
<DialogContent backdropProps={{ forceRender: true }} className="w-[480px]">
|
||||
<DialogCloseButton />
|
||||
|
||||
{/* Header */}
|
||||
|
||||
@@ -39,7 +39,7 @@ const SwitchModal = ({
|
||||
|
||||
return (
|
||||
<Dialog open onOpenChange={open => !open && onClose()}>
|
||||
<DialogContent className="w-[480px]">
|
||||
<DialogContent backdropProps={{ forceRender: true }} className="w-[480px]">
|
||||
<DialogCloseButton />
|
||||
<DialogTitle className="text-text-primary title-2xl-semi-bold">
|
||||
{t('sandboxProvider.switchModal.title', { ns: 'common' })}
|
||||
|
||||
Reference in New Issue
Block a user