igniteui-angular icon indicating copy to clipboard operation
igniteui-angular copied to clipboard

igx-tabs component breaks SSR

Open D-Biela opened this issue 11 months ago • 1 comments

Description

Describe the issue.

  • igniteui-angular version: 17.1.1
  • browser: Google Chrome Version 122.0.6261.69 (Offizieller Build) (arm64)

Steps to reproduce

  1. Place on any page the igx-tabs component. Minimal sample: <igx-tabs> <igx-tab-item [title]="'TEST'"> test </igx-tab-item> </igx-tabs>

  2. 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)

Expected result

No errors.

D-Biela avatar Mar 04 '24 13:03 D-Biela

There has been no recent activity and this issue has been marked inactive.

github-actions[bot] avatar May 05 '24 00:05 github-actions[bot]

There has been no recent activity and this issue has been marked inactive.

github-actions[bot] avatar Jul 07 '24 00:07 github-actions[bot]

There has been no recent activity and this issue has been marked inactive.

github-actions[bot] avatar Sep 07 '24 00:09 github-actions[bot]