fix: HTML preview tab controls not working in fullscreen (#12152)

This commit is contained in:
Zhaolin Liang 2026-01-04 13:49:40 +08:00 committed by GitHub
parent 2012378341
commit f8519f0bf0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -222,6 +222,7 @@ const HtmlArtifactsPopup: React.FC<HtmlArtifactsPopupProps> = ({ open, title, ht
afterClose={onClose}
centered={!isFullscreen}
destroyOnHidden
forceRender={isFullscreen}
mask={!isFullscreen}
maskClosable={false}
width={isFullscreen ? '100vw' : '90vw'}