Description
If you have an igxButton or igxIconButton inside an SSR project, either of them throws TypeError: Cannot read properties of undefined (reading 'unsubscribe').
<button igxButton="flat">Button</button>
<button igxIconButton="flat">
<igx-icon>home</igx-icon>
</button>
Related to https://infragistics.visualstudio.com/Indigo_Platform/_workitems/edit/36904#13216343
- igniteui-angular version: 20.1.x, 21.0.x, master
- browser: any
Steps to reproduce
- Create an SSR project
- Add an igxButton or igxIconButton
- Run the project
Result
Expected result
No errors
Attachments
Attach a sample if available, and screenshots, if applicable.