Content not removed when it should be #677

Closed
stevenvachon opened this Issue Jan 18, 2014 · 2 comments

Comments

Projects
None yet
5 participants
@stevenvachon
Contributor

stevenvachon commented Jan 18, 2014

Content inside my example's {{#if}}, which wraps an {{#each}}, is not removed as items is emptied. It is, however, displayed correctly before adding/removing from list.

{{#if items.length}}
    {{#each items}}asdf{{/each}}
    text
{{/if}}

http://jsfiddle.net/prometh/gUS44/

@daffl

This comment has been minimized.

Show comment
Hide comment
@daffl

daffl Feb 10, 2014

Contributor

This seems to be a bug with the if helper.

Contributor

daffl commented Feb 10, 2014

This seems to be a bug with the if helper.

@daffl daffl added this to the 2.0.6 milestone Feb 10, 2014

@daffl daffl added the Bug label Feb 26, 2014

@daffl daffl modified the milestones: 2.1.0, 2.0.6 Mar 13, 2014

@alexisabril alexisabril self-assigned this Apr 1, 2014

alexisabril pushed a commit that referenced this issue Apr 2, 2014

@alexisabril

This comment has been minimized.

Show comment
Hide comment
@alexisabril

alexisabril Apr 2, 2014

Contributor

This is fixed in the minor branch. Test is added in PR.

Contributor

alexisabril commented Apr 2, 2014

This is fixed in the minor branch. Test is added in PR.

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