Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Splitpane mobile

$
0
0

@mitchose wrote:

Hello,

I'm using the splitpane for my app with the side menu.
Everything works fine on tablets, but on my mobile phone's, I get a blank screen with no errors or whatever. When I remove the split pane, everything works again. Can someone tell me what is wrong with my code? Running on Android and using Ionic 3.5

<ion-split-pane when="lg">
  <ion-menu [content]="content">
    <ion-header>
      <ion-toolbar>
        <ion-title>Menu</ion-title>
      </ion-toolbar>
    </ion-header>

    <ion-content>
      <ion-list>
        <button menuClose ion-item *ngFor="let p of pages" (click)="openPage(p)">
          {{p.title}}
        </button>
      </ion-list>
    </ion-content>
  </ion-menu>
  <ion-nav [root]="rootPage" #content swipeBackEnabled="false"></ion-nav>
</ion-split-pane>

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles