Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

willDestroyElement is called after the component is destroyed when using the component helper #13028

Closed
chrisseto opened this issue Feb 29, 2016 · 1 comment

Comments

@chrisseto
Copy link

When a component is rendered with the component helper it's willDestroyElement hook is called after the element has been removed from the DOM rather than before.

The twiddle contains additional details.

Ember Twiddle

@krisselden krisselden added the Bug label Feb 29, 2016
@krisselden
Copy link
Contributor

Seems like the teardown path is very different for {{component "my-component"}} than it is for {{my-component}} stepping through in a debugger.

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

No branches or pull requests

3 participants