refactor(core): [CORE-22] validate compatible core and defer initial layout

This commit is contained in:
Harvey Zhao committed 2026-09-11 23:18:12 +08:00
1 parent 5efc7f7699
commit adec20213f
24 files changed
+77377 -50

No files matched your search

+2
View File
@@ -21,6 +21,8 @@ export function observeControlLayout(art: ControlHost): void {
scope.add(() => {
observer.disconnect()
})
// Its initial delivery measures after the remaining constructor DOM writes.
return
}
else if (typeof MutationObserver !== 'undefined') {
const observer = new MutationObserver(update)