Ignite UI for Angular is a complete library of Angular-native, Material-based Angular UI components with the fastest grids and charts, Pivot Grid, Dock Manager, Hierarchical Grid, and more.
browser: Google Chrome Version 122.0.6261.69 (Offizieller Build) (arm64)
Steps to reproduce
Place on any page the igx-tabs component. Minimal sample:
<igx-tabs> <igx-tab-item [title]="'TEST'"> test </igx-tab-item> </igx-tabs>
Serve the Angular application with angular universal and reload the page on the route where the tab-component is placed
Result
Errors within the ssr-process:
** Angular Universal Live Development Server is listening on http://localhost:4200, open your browser on http://localhost:4200 **
Angular is running in development mode.
Angular is running in development mode.
Angular is running in development mode.
ReferenceError: window is not defined
at getResizeObserver (./node_modules/@infragistics/igniteui-angular/fesm2022/infragistics-igniteui-angular.mjs:197:40)
at apply (./node_modules/@infragistics/igniteui-angular/fesm2022/infragistics-igniteui-angular.mjs:85738:41)
at invoke (./node_modules/zone.js/fesm2015/zone-node.js:368:26)
at run (./node_modules/zone.js/fesm2015/zone-node.js:129:43)
at runOutsideAngular (./node_modules/@angular/core/fesm2022/core.mjs:14674:28)
at ngAfterViewInit (./node_modules/@infragistics/igniteui-angular/fesm2022/infragistics-igniteui-angular.mjs:85737:21)
at callHookInternal (./node_modules/@angular/core/fesm2022/core.mjs:3599:14)
at callHook (./node_modules/@angular/core/fesm2022/core.mjs:3626:13)
at callHooks (./node_modules/@angular/core/fesm2022/core.mjs:3581:17)
at executeInitAndCheckHooks (./node_modules/@angular/core/fesm2022/core.mjs:3531:9)
Description
Describe the issue.
Steps to reproduce
Place on any page the igx-tabs component. Minimal sample:
<igx-tabs> <igx-tab-item [title]="'TEST'"> test </igx-tab-item> </igx-tabs>
Serve the Angular application with angular universal and reload the page on the route where the tab-component is placed
Result
Errors within the ssr-process:
Expected result
No errors.