You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ready you will see the message Removing but the item stays.
If you change to the *ngIf="show" format it works, just change the template in this way and you will see it:
I actually have the problem on a callback from a service, I just created an easy way of replicate it here. I can try to wrap the asynchrony calls in a zone but doesn't seem to be a very practical solution :).
From @ignaciolarranaga on May 7, 2017 15:43
Please, provide the details below:
Tell us about the problem
If you refresh an ng-if template the change is not reflected.
Let suppose for example this:
and you set a timer for 3 seconds to remove it:
The section should disappear at the timeout, but it doesn't happen.
Which platform(s) does your issue occur on?
iOS/Android/Both
Please provide the following version numbers that your issue occurs with:
Please tell us how to recreate the issue in as much detail as possible.
tns create Sample --ng
show: boolean = true;
and a timeout to change it on the ngInit:Ready you will see the message Removing but the item stays.
If you change to the *ngIf="show" format it works, just change the template in this way and you will see it:
You will se I'm here2 disappear while the number 1 does not.
Copied from original issue: NativeScript/NativeScript#4136
The text was updated successfully, but these errors were encountered: