Fix description editor initially empty (#26795)

Defer behaviorShim.applySubtree until after dialog is shown
This commit is contained in:
Ann C. authored and GitHub committed 2026-05-25 11:38:58 -06:00
1 parent ce830a6516
commit 9c477dbc60
1 file changed
+1 -1
+1 -1
View File
@@ -84,7 +84,7 @@ Dialog.prototype.init = function () {
if (this.options.form != null && this.dialogType === "form") {
this.form = this.options.form;
content.appendChild(this.options.form);
behaviorShim.applySubtree(content, true);
setTimeout(() => behaviorShim.applySubtree(content, true));
}
if (this.dialogType !== "form") {
if (this.options.content != null && this.dialogType === "alert") {