You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ember Google Analytics Embed 0.1.6 release ensures all events are removed on the willDestroyElement hook. However, Google Analytics embed API still throws a Cannot read property 'firstChild' of null error if a component is removed whilst it is initializing a new chart.
// components/visualizations/base-chart.jscreateVisualization(){// Component is present on initialization...constcontainer=this.elementId;returnnewwindow.gapi.analytics.googleCharts.DataChart({chart: { container }});// => But during chart insertion, component is destroyed.// => `Cannot read property 'firstChild' of null` from `cb=gapi.loaded_0:455`},
Not entirely sure how to silence this error - any help appreciated!
The text was updated successfully, but these errors were encountered:
Ember Google Analytics Embed
0.1.6
release ensures all events are removed on thewillDestroyElement
hook. However, Google Analytics embed API still throws aCannot read property 'firstChild' of null
error if a component is removed whilst it is initializing a new chart.Not entirely sure how to silence this error - any help appreciated!
The text was updated successfully, but these errors were encountered: