glimmer-native icon indicating copy to clipboard operation
glimmer-native copied to clipboard

Inline `{{if}}` helper does not re-render after condition updates to `false`

Open billdami opened this issue 5 years ago • 0 comments

Given the following template:

<Label 
    text="Foo" 
    class="{{if this.someProp "color-red"}}"
/>

The Label's class will correctly change to "color-red" when this.someProp becomes true. However, if the property later changes back to false, the "color-red" class will remain, instead of being removed like it should be.

billdami avatar Aug 26 '19 12:08 billdami