Angular2 - Change detection not showing unless clicked
问题 I have an component in which you can enter some search terms and it will filter the content using a *ngFor loop. The trouble is when I enter a search term I need to click the screen for the update to take effect visually. Here is the part of the html code in which the loop occurs: <li *ngFor="let item of posts | reverse; let i = index; "> <div class="media" *ngIf="item.doesContainTags(searchTags)"> The code that executes on the input field where you enter the tags to search for is: