Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

Popover adds a new scope every time it opens #2907

Closed
@sdesmond

Description

@sdesmond

Every time a popover displays, it adds a new scope to the mix. After a while, this causes things to slow down dramatically, especially when those popovers display a lot of data in an already large application. I've seen the behavior using Batarang.

When the popover is opened, a new child scope is created. When it is closed, the scope remains. When it is opened again, a new child scope is created which is identical to the first. When it is closed again, both scopes remain, etc. etc.

http://plnkr.co/edit/toUlHDz4hOlgJTCUv4EQ?p=preview

Transfer the code from Plunker to a local machine to see it in action (there are a lot of other scopes in Plunker and I don't see it happening there).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions