-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
This issue was originally filed by @rbishop-bah
I have some code with a core-list-dart being added at runtime as the result of a user action and then populated with items. In Dartium and in Chrome this works fine. However in FireFox and Internet Explorer I get an error and the list fails to populate properly.
In the Firefox console the error is reported as 'TypeError: itemData is undefined.' In the IE11 console I see 'SCRIPT5007: Unable to get property 'toString' of undefined or null reference.'
The DOM is fairly complicated, with the dynamically added core list being part of a custom element which is a child of a Section of nested core animation pages.
core-lists that are statically defined in custom element HTML do not seem to suffer the same problem.
I tried various combinations of CoreList.refresh, .updateMetrics .updateSize and
to work around the problem to no avail.
If there is only one item in the list it populates ok and the itemData error does not appear. If there is more than one item in the list then the first item is displayed but is malformed (bad data values).
What version of the product are you using?
Dart SDK 1.8.5, polymer 0.15.5, core_element 0.6.0+4
On what operating system?
Win 7 x64
What browser (if applicable)?
FireFox 35.0.1, IE11 (Dartium and Chrome work as expected)