Hi Goutham,
Thanks for contacting Syncfusion support.
We had checked your reported scenario at our end. Tab component is working properly while we render the dialog inside the tab as external component. When we destroy the tab component, before that we need to destroy the dialog component manually. ‘ngOnDestroy’ method is not invoked because we are destroying just tab component, not the angular component. When we destroy the angular component, in this case ‘ngOnDestroy’ method is invoked by default. The best example for destroying angular component is angular routing. While we switch from one component to another component the ‘ngOnDestroy’ method invokes properly.
Kindly revert us, if we misunderstood your requirement or any other queries.
Regards,
Nevitha