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

During inheritance, child components are not copied #6

Closed
dthevenin opened this issue Dec 19, 2012 · 1 comment
Closed

During inheritance, child components are not copied #6

dthevenin opened this issue Dec 19, 2012 · 1 comment

Comments

@dthevenin
Copy link

Let use this specification:

<c id=c1 href=c2 />
<c id=c2>
  <c href=Button />
</c>

When this spec is rendered you have the following DOM witch is what you want:

<c1>
  <c2>
    <button />

But if you add a component into c1, ex:

<c id=c1 href=c2>
  <c href=List />
</c>
<c id=c2>
  <c href=Button />
</c>

You obtain this DOM that is not what you expect, because the button disappear:

<c1>
  <c2>
    <list />

The right DOM should be some thing like:

<c1>
  <c2>
    <button />
    <list />
@bendr
Copy link
Owner

bendr commented Dec 19, 2012

This is fixed in a149b3b

@bendr bendr closed this as completed Dec 19, 2012
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