Skip to content

Window listeners trigger change detection #111

@gempain

Description

@gempain

The recaptcha component seems to bind event listeners to the window object. Particularly, there is a scroll listener which triggers change detection several thousands of times, and slows down the application noticeably.

I would suggest to bind outside of NgZone to avoid this, but I am not sure why they are needed anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions