Closed zoechi closed 6 years ago
I tried to create a simple reproducible example, but here it works just fine https://github.com/bwu-dart-playground/polymer1/blob/master/_bugs/_not_reproducible/list_add/web/app_element.dart#L18
If I wrap the code with async(() { ... });
the error goes away.
My repo case uses a manually invoked event handler. In the google-apis-demo it is an event handler from a Google API element.
Maybe it fires while Polymer isn't yet done initializing.
ah are you invoking it from within ready
?
No, in the loaded
event handler (<google-xx-api on-api-load="loaded"></...>
https://github.com/bwu-dart/polymer_elements_demos/blob/9f4b48814c8ca6d446e7afd765f189544880f1f0/web/google_apis/google_apis_demo.html#L23-L23)
@zoechi is this still an issue?
I'll check and report back.
at this line
https://github.com/bwu-dart/polymer_elements_demos/blob/google_apis_demo_refactoring/web/google_apis/google_apis_demo.dart#L40