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

Fix VNode orphaning inside of VTags #651

Merged
merged 3 commits into from
Sep 23, 2019

Conversation

hgzimmerman
Copy link
Member

@hgzimmerman hgzimmerman commented Sep 21, 2019

Fixes #643

VTags now recursively detach their children when they are detached themselves. This means that Components nested within <div>s or other elements will now properly run their destroy function and be dropped by the framework.

Its nice to finally squash a bug that's bothered me for more than a year.

@jstarry
Copy link
Member

jstarry commented Sep 22, 2019

Wow, what a bad bug! Thank you so much @hgzimmerman for tracking this down!

@jstarry jstarry self-requested a review September 22, 2019 19:38
@jstarry
Copy link
Member

jstarry commented Sep 23, 2019

bors r+

bors bot added a commit that referenced this pull request Sep 23, 2019
651: Fix VNode orphaning inside of VTags r=jstarry a=hgzimmerman

Fixes #643

VTags now recursively detach their children when they are detached themselves. This means that Components nested within `<div>`s or other elements will now properly run their `destroy` function and be dropped by the framework.

Its nice to finally squash a bug that's bothered me for more than a year.

Co-authored-by: Henry Zimmerman <zimhen7@gmail.com>
@jstarry jstarry added the bug label Sep 23, 2019
@bors
Copy link
Contributor

bors bot commented Sep 23, 2019

Build succeeded

  • continuous-integration/travis-ci/push

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

Successfully merging this pull request may close these issues.

Bug: Orphaned Components
2 participants