diff --git a/components/plugins/plugin-iframe-slot.tsx b/components/plugins/plugin-iframe-slot.tsx
index a5470318b..761b18d12 100644
--- a/components/plugins/plugin-iframe-slot.tsx
+++ b/components/plugins/plugin-iframe-slot.tsx
@@ -190,8 +190,9 @@ export function PluginIframeSlot({ pluginId, slot, extraProps, fill = false, min
0 ? undefined : 'hidden' }
+ // A frame with nothing to show must not be a stop for Tab, where the focus would vanish.
+ : fill ? { flex: '1 1 0%', minHeight: minFillHeight ?? 0 } : { height, minHeight: height, visibility: height > 0 ? undefined : 'hidden' }}
data-plugin-iframe-slot={`${pluginId}:${slot}`}
data-plugin-iframe-fill={fill || undefined}
/>