Skip to content

Defer block with prefetch on viewport throws because IntersectionObserver is not defined #52304

@eneajaho

Description

@eneajaho

Which @angular/* package(s) are the source of the bug?

core

Is this a regression?

No

Description

With SSR enabled on ng serve I get ERROR ReferenceError: IntersectionObserver is not defined
CleanShot 2023-10-20 at 22 54 49@2x

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in (run ng version)

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

P2The issue is important to a large percentage of users, with a workaroundarea: coreIssues related to the framework runtimecore: deferIssues related to @defer blocks.state: has PR

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions