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

What if I move the heading around? #25

Open
domenic opened this issue Jun 18, 2014 · 2 comments
Open

What if I move the heading around? #25

domenic opened this issue Jun 18, 2014 · 2 comments
Assignees
Labels

Comments

@domenic
Copy link

domenic commented Jun 18, 2014

I might be wrong, but I don't believe Polymer's ready callback will run if you remove the element and re-insert it deeper in the outline tree. In which case it will still have the old level. Seems bad?

@matatk
Copy link
Contributor

matatk commented Jun 18, 2014

Thanks for raising this and the related #26 -- it is something that we recently very briefly discussed (in #21) and I'm still reading around, though I think the potential solution mentioned there (mutation observers) should work. It's certainly something that we will be focusing on, now we've got the extension element and have finally settled on a name for this thing ;-).

@matatk matatk self-assigned this Jun 18, 2014
@matatk matatk added the bug label Jun 18, 2014
@domenic
Copy link
Author

domenic commented Jun 18, 2014

I wonder if Polymer has some sort of "inserted into the real DOM" and "removed from the real DOM" callback, since I think that would catch all of the cases you care about.

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

No branches or pull requests

2 participants