8000 OnMediaQueryChange Listeners not being removed onDestroy. · Issue #35 · akoenig/angular-deckgrid · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
OnMediaQueryChange Listeners not being removed onDestroy. #35
Closed
@nicoabie

Description

@nicoabie

Steps to reproduce it.

  1. Create an app with two partials.
  2. Use deckgrid in one of them.
  3. Switch to the other partial
  4. Resize the browser to induce a media query change.

Result expected: nothing shoud happen.
Result gotten: $$onMediaQueryChange is being called, resulting in an error cause there are no columns defined.

If I have a fix for this, will ask for a pull request.

NOTE that this was tested on chrome canary.

40D4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0