Skip to content

Tree component throws an error when in Angular SSR environment #16038

@mddragnev

Description

@mddragnev

Description

Tree component throws requestAnimationFrame is not defined when run in angular SSR environment

  • igniteui-angular version:
  • browser:

Steps to reproduce

  1. Open this sample:

Angular-SSR-19.zip

  1. Run npm run start

Result

An error is thrown

Image

Expected result

No error should be thrown

Attachments

Attach a sample if available, and screenshots, if applicable.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions