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

Scoping of `show` in Yielded Content #2448

Closed
robertology opened this Issue Sep 20, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@robertology

robertology commented Sep 20, 2017

Help us to manage our issues by answering the following:

  1. Describe your issue:
    A continuation of #2125. show does not have the same scope as if. But this time it appears to have this bug when used in yielded content.

  2. Can you reproduce the issue?
    http://plnkr.co/edit/Lr8pCZx7UNQUVx04JxSe?p=preview

This example should show four <h1> elements but only three appear. The "show in" element will only appear if parent. is removed from the show= condition.

Expected behavior is that the show and if conditions are identical.

  1. On which browser/OS does the issue appear?
    Google Chrome v61.0.3163.91

  2. Which version of Riot does it affect?
    3.7 (since 3.4.3 I believe)

  3. How would you tag this issue?

  • Question
  • Bug
  • Discussion
  • Feature request
  • Tip
  • Enhancement
  • Performance
@GianlucaGuarini

This comment has been minimized.

Show comment
Hide comment
@GianlucaGuarini

GianlucaGuarini Sep 23, 2017

Member

fixed in riot@3.7.2

Member

GianlucaGuarini commented Sep 23, 2017

fixed in riot@3.7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment