FontAwesome icons dissapear after ListView scroll


#1

Hi everyone!

I have a simple ListView with FontAwesome icons.

<ListView [items]="itemList">
    <ng-template let-record="item">
        <GridLayout columns="*">
            <Label [text]="record.icon" class="fa" fontSize="35"></Label>            
        </GridLayout> 
    </ng-template>
</ListView> 

After the ListView scroll some icons dissapear.

Before scroll:

After scroll:


#2

I assume you’re toggling them? …whats the code you’re using to do that?


#3

I have found the reason.
It was wrong style, which cause so strange behavior.

label {
horizontal-align: center;
}