perf: trim widget loading work
This commit is contained in:
1 parent
b2fbd10965
commit
af6fb75e6b
4 files changed
+5
-2
No files matched your search
@@ -26,6 +26,7 @@ export default function IFrameWidget({ options, isEditMode }: WidgetComponentPro
|
||||
<Stack h="100%" w="100%" gap={0}>
|
||||
<Box style={{ flex: 1, minHeight: 0 }}>
|
||||
<iframe
|
||||
loading="lazy"
|
||||
style={isEditMode ? { userSelect: "none", pointerEvents: "none" } : undefined}
|
||||
className={classes.iframe}
|
||||
src={safeEmbedUrl}
|
||||
|
||||
Reference in new issue
Block a user