Skip to content Skip to sidebar Skip to footer

Why The Back Button Button Not Display In Second Screen?

why the back button is not display while moving one page to another page ?As in how user move to move navigate to previous page ? I disable on on second page but it is not displ

Solution 1:

Simply , you forget to add a "ion-nav-bar" to your "playlist.html"

<ion-view title="Playlist">

  <ion-nav-bar>
    <ion-nav-back-button class="button-clear">
      <i class="ion-arrow-left-c"></i> Back
    </ion-nav-back-button>
  </ion-nav-bar>


  <ion-content class="has-header">
    <h1>Playlist</h1>
  </ion-content>
</ion-view> 

Demo


Solution 2:

Is there any particular reason why you're using an old css reference ?

This is your plunker:

<link data-require="ionic@1.0.0-beta.1" data-semver="1.0.0-beta.1" rel="stylesheet" href="http://code.ionicframework.com/1.0.0-beta.1/css/ionic.css" />
<script src="//code.ionicframework.com/nightly/js/ionic.bundle.js"></script>

and this is what it should be:

<link rel="stylesheet" href="http://code.ionicframework.com/nightly/css/ionic.min.css" />
<script src="//code.ionicframework.com/nightly/js/ionic.bundle.js"></script>

this is the forked plunker.


Post a Comment for "Why The Back Button Button Not Display In Second Screen?"