fix(web): force render sandbox provider dialog backdrops

This commit is contained in:
yyh
2026-03-31 13:54:28 +08:00
parent b5996085e1
commit 8843a62b4e
2 changed files with 2 additions and 2 deletions

View File

@@ -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 */}

View File

@@ -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' })}