perf: trim widget loading work

This commit is contained in:
ajnart committed 2026-08-14 11:32:11 +02:00
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}