AngularJS

AngularJS related items

Angular2 *ngIf takes time for buttons to disappear

This is just a note
When using Angular's *ngIf verb the element that it is supposed to hide can be still visible for several milliseconds
(enough for the user to see it going away)

Example of problematic code:

<div *ngIf="(!list?.is_public || isAdmin()) && !isInSuper">

Syndicate content