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

coffeebite opened this issue Nov 26, 2016 · 1 comment

Error toggling child with multiple mixins #2100

coffeebite opened this issue Nov 26, 2016 · 1 comment


Copy link

@coffeebite coffeebite commented Nov 26, 2016

  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
Copy link

@GianlucaGuarini 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
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.