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

Element stops working if taken off the DOM and put back in #782

Closed
Baptouuuu opened this issue Oct 4, 2014 · 2 comments
Closed

Element stops working if taken off the DOM and put back in #782

Baptouuuu opened this issue Oct 4, 2014 · 2 comments

Comments

@Baptouuuu
Copy link

An element javascript seems to stop working when you take the element off the document DOM and then afterward put the element back in. I came across this problem with the element core-input and paper-toast.

For the first one, the event change is no longer firing. And the latter one doesn't show up when calling the method show.

@zoechi
Copy link

zoechi commented Oct 4, 2014

There ist cancelUnbindAll(preventCascade: true); in Dart I guess there is something similar in JS
http://stackoverflow.com/questions/22486165

@Baptouuuu
Copy link
Author

Thanks. Found the preventDispose attribute.

Via #312

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

No branches or pull requests

2 participants