matthiasunt
matthiasunt

Reputation: 719

Ionic: Unwanted loading bar on Android

An unwanted loading bar, that gets stuck, is showing up under my navbar in my Ionic app on Android.

Page with loading bar

This is what my HTML looks like:

<ion-header>
  <ion-navbar>
    <button ion-button menuToggle>
          <ion-icon name="menu"></ion-icon>
        </button>
    <ion-title>History</ion-title>
    <ion-buttons end>
      <button ion-button icon-only *ngIf="history" (click)="clearHistoryAlert()">
        <ion-icon name="trash"></ion-icon>
      </button>
    </ion-buttons>
  </ion-navbar>
</ion-header>

<ion-content>
</ion-content>

Upvotes: 1

Views: 43

Answers (1)

sebaferreras
sebaferreras

Reputation: 44659

Like you can see in this thread or in this one from Ionic forum, it's not a loading bar, but a bug in Ionic. There's also a github issue still open related to this.

According to the comments, for now you can use the following style rule as a workaround to fix it:

.scroll-content{
  overflow-y: auto !important;
}

Upvotes: 1

Related Questions