Last Updated: 22 Mar 2019 09:02 by ADMIN
Created on: 04 Mar 2019 13:22
Category: Dialog
Type: Bug Report
Dialog is messed up when calling DialogService from Observable and change detection is OnPush


When opening a dialog with DialogService from an Observable (e.g. in order to initialize dialog with data from a http request) and ChangeDetectionStrategy.OnPush, the dialog is messed up. With ChangeDetectionStrategy.Default everything works fine.

For reproduction have a look to this StackBlitz:


1 comment
T. Tsonev
Posted on: 11 Mar 2019 10:45
Hi Holger,

Thank you for reporting this problem. We'll investigate and try to provide a timely fix.

In the meantime you can workaround the issue by calling ChangeDetectorRef.markForCheck() after opening the Dialog, see updated snippet.

Best Regards,
T. Tsonev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.