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

Error toggling child with multiple mixins #2100

Closed
1 of 7 tasks
coffeebite opened this issue Nov 26, 2016 · 1 comment
Closed
1 of 7 tasks

Error toggling child with multiple mixins #2100

coffeebite opened this issue Nov 26, 2016 · 1 comment
Assignees

Comments

@coffeebite
Copy link

  1. Describe your issue:

Say I have the following tag:

<parent>
  <child if="{showChild}"></child>
</parent>

If showChild resolves to true and then false, you get the following javascript error if the <child> tag has more than one mixin mixed in:

Cannot read property 'removeChild' of null
  1. Can you reproduce the issue?
    With only one mixin (works): https://plnkr.co/edit/Qze8P2NSZcHDSEsJ1xc1
    With two mixins (doesn't work): https://plnkr.co/edit/FOjzXT7L2dxZGbLRu46l

  2. On which browser/OS does the issue appear?
    Chrome/macOS Sierra

  3. Which version of Riot does it affect?
    3.0.0

  4. How would you tag this issue?

  • Question
  • Bug
  • Discussion
  • Feature request
  • Tip
  • Enhancement
  • Performance
@GianlucaGuarini
Copy link
Member

Thanks that's a bug

@GianlucaGuarini GianlucaGuarini self-assigned this Nov 26, 2016
GianlucaGuarini added a commit that referenced this issue Nov 26, 2016
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

2 participants