Print/Save Buttons not Loading in Angular2

Stimulsoft Reports.JS discussion
Post Reply
agent354
Posts: 3
Joined: Thu Sep 07, 2017 6:34 pm

Print/Save Buttons not Loading in Angular2

Post by agent354 »

One of the more recent updates to Angular 2 seem to have broken the buttons from loading in the Report Viewer with Stimulsoft.JS.

I have attached a copy of a scaled down application that is failing, see console log errors.

TypeError: Cannot read property 'type' of undefined
at HTMLDivElement.wrapFn (zone.js:1070)
at HTMLDivElement.n.onmouseover [as __zone_symbol__ON_PROPERTYmouseover] (scripts.bundle.js:193)
at HTMLDivElement.wrapFn (
Attachments
my-app.zip
sample app
(2.4 MiB) Downloaded 174 times
agent354
Posts: 3
Joined: Thu Sep 07, 2017 6:34 pm

Re: Print/Save Buttons not Loading in Angular2

Post by agent354 »

Turns out that I had to downgrade zone.js to 0.8.4 and it would work again.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Re: Print/Save Buttons not Loading in Angular2

Post by Edward »

Hi Agent354,

Thank you for sharing the solution of that problem and the provided sample. Glad it worked and this hint might help to someone else.

Thank you,
Edward
Post Reply