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

Typeahead event listeners never removed #4632

Closed
oliversalzburg opened this issue Oct 15, 2015 · 1 comment
Closed

Typeahead event listeners never removed #4632

oliversalzburg opened this issue Oct 15, 2015 · 1 comment

Comments

@oliversalzburg
Copy link
Contributor

http://plnkr.co/edit/7KezbXxCsmx79oyDpux9?p=preview

When using typeahead-append-to-body='true', event listeners will be bound to window and body, these listeners are never unbound.

To showcase:

  1. In the plunker, click the Open me! button.
  2. Close the modal, by clicking Cancel.
  3. Change the preview window body size by moving the splitter.
  4. fireRecalculating will be called.
@icfantv
Copy link
Contributor

icfantv commented Oct 15, 2015

Yep. Looks like a bug. Good catch. Please feel free to submit a PR. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants