Angular viewer incompatible with OnPush change detection strategy

Stimulsoft Reports.ANGULAR discussion
Post Reply
jc_isagri
Posts: 1
Joined: Thu Mar 20, 2025 1:10 pm

Angular viewer incompatible with OnPush change detection strategy

Post by jc_isagri »

Hello,

Currently, the viewer is not compatible with the property changeDetection: ChangeDetectionStrategy.OnPush in Angular components.
I have to set the components to changeDetection: ChangeDetectionStrategy.Default for the viewer to work correctly.
Is there any plan for the Stimulsoft viewer to support this change detection strategy in the near future?

Thanks in advance,
Jérémy
Lech Kulikowski
Posts: 7745
Joined: Tue Mar 20, 2018 5:34 am

Re: Angular viewer incompatible with OnPush change detection strategy

Post by Lech Kulikowski »

Hello,

It will be implemented within 2-3 months.

Thank you.
mb_isagri
Posts: 1
Joined: Wed Apr 15, 2026 11:33 am

Re: Angular viewer incompatible with OnPush change detection strategy

Post by mb_isagri »

Hello,

Following up on the previous topic regarding OnPush change detection compatibility, we are now facing a related but more critical issue.

We have migrated our application to Angular 21 and are running in Zoneless mode (using provideZonelessChangeDetection). In this configuration, the Stimulsoft Viewer does not initialize correctly — the component fails to render properly.

We have confirmed that when we switch the project back to Zone.js mode, the viewer works as expected. However, we cannot stay on Zone.js due to performance and architectural constraints in our application.

Could you please let us know:

Are you aware of this incompatibility with Angular's Zoneless mode?
Is there a planned timeline for Stimulsoft Viewer to support Zoneless Angular applications?
This is a blocking issue for us, so any information on the expected timeline would be greatly appreciated.

Thank you in advance.
Lech Kulikowski
Posts: 7745
Joined: Tue Mar 20, 2018 5:34 am

Re: Angular viewer incompatible with OnPush change detection strategy

Post by Lech Kulikowski »

Hello,

This task is currently under development. We plan to include it in one build in May.

Thank you.
Post Reply