Index: pkg/custom_element/lib/custom_element.dart |
diff --git a/pkg/custom_element/lib/custom_element.dart b/pkg/custom_element/lib/custom_element.dart |
index a91ff698d64768ea42f4d31ce471fc8e39e98409..5ea5ca0915cc6fc560da95216e0989eba0eb1a57 100644 |
--- a/pkg/custom_element/lib/custom_element.dart |
+++ b/pkg/custom_element/lib/custom_element.dart |
@@ -625,7 +625,7 @@ void _initCustomElement(Element node, CustomElement ctor()) { |
} |
void _registerLifecycleInsert(CustomElement element) { |
- runAsync(() { |
+ scheduleMicrotask(() { |
// TODO(jmesserly): bottom up or top down insert? |
var node = element.host; |