mirror of
https://github.com/langgenius/dify.git
synced 2026-05-09 04:36:31 +08:00
fix(web): force render sandbox provider dialog backdrops
This commit is contained in:
parent
b5996085e1
commit
8843a62b4e
@ -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' })}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user