Error toggling child with multiple mixins #2100

coffeebite opened this Issue Nov 26, 2016 · 1 comment


None yet

2 participants

  1. Describe your issue:

Say I have the following tag:

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

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):
    With two mixins (doesn't work):

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

  3. Which version of Riot does it affect?

  4. How would you tag this issue?

  • Question
  • Bug
  • Discussion
  • Feature request
  • Tip
  • Enhancement
  • Performance
@GianlucaGuarini GianlucaGuarini added the bug label Nov 26, 2016

Thanks that's a bug

@GianlucaGuarini GianlucaGuarini self-assigned this Nov 26, 2016
@GianlucaGuarini GianlucaGuarini added a commit that referenced this issue Nov 26, 2016
@GianlucaGuarini GianlucaGuarini Merge branch 'dev' into bug/2089
* dev:
  closes #2100
@GianlucaGuarini GianlucaGuarini added a commit that closed this issue Nov 26, 2016
@GianlucaGuarini GianlucaGuarini closes #2100 8ce8dee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment