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
coffeebite opened this Issue Nov 26, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@coffeebite

coffeebite commented Nov 26, 2016

  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 GianlucaGuarini added the bug label Nov 26, 2016

@GianlucaGuarini

This comment has been minimized.

Show comment
Hide comment
@GianlucaGuarini

GianlucaGuarini Nov 26, 2016

Member

Thanks that's a bug

Member

GianlucaGuarini commented Nov 26, 2016

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