Page 1 of 1

Angular viewer incompatible with OnPush change detection strategy

Posted: Thu Mar 20, 2025 1:25 pm
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

Re: Angular viewer incompatible with OnPush change detection strategy

Posted: Thu Mar 20, 2025 2:18 pm
by Lech Kulikowski
Hello,

It will be implemented within 2-3 months.

Thank you.

Re: Angular viewer incompatible with OnPush change detection strategy

Posted: Wed Apr 15, 2026 11:46 am
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.

Re: Angular viewer incompatible with OnPush change detection strategy

Posted: Thu Apr 16, 2026 7:49 am
by Lech Kulikowski
Hello,

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

Thank you.