docs: note raw app iframe focus limitation

This commit is contained in:
Guilhem Lemouel
2026-09-22 11:28:13 +02:00
parent 85e816373f
commit ba982fb821
@@ -853,6 +853,9 @@
}, 500)
const doc = untrack(() => iframeDocument)
if (doc !== undefined && isOpenableDocument(doc)) {
// Plain setFiles opens the iframe's default document after a content change.
// Preserving this document may focus the hidden iframe; eliminating that
// transfer requires a focus-preserving update API in the UI Builder.
setFilesAndSelectInIframe(files, doc)
} else {
// Deleted or renamed away since we last told the iframe to open it;