Skip to content

Tooltip directive have pure document usage causing SSR to throw an error #15947

Open
@mddragnev

Description

@mddragnev

Description

This #15813 have introduced a bug where using tooltip in SSR throws an error
You can use the injected document that is coming from angular so that it works correct in SSR env too

  • igniteui-angular version:
  • browser:

Steps to reproduce

  1. Use a tooltip inside an angular SSR project
  2. Observe the console for the error

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

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions