Ionic 3 virtual scroll problem

Hi, my virtual scroll is not working inside my *ngSwitchCase. But when I place it outside *ngSwitchCase it’s working fine. Please anyone can help me?

<div [ngSwitch]="segments">
  
<ion-grid *ngSwitchCase="'overview'" class="no-padding">
  <ion-list [virtualScroll]="dataLogs">
    <ion-item *virtualItem="let dataLog">
      <p>{{ dataLog.timeActual }} </p>
    </ion-item>
  </ion-list>
</ion-grid>
</div>