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

Ionic 4 - Reload Page when changing tabs

$
0
0

@ebeliejinfren wrote:

Hi
in ionic 4 when changing tabs the destination tab reload again
Example : when from tab1 going tab2 then going back tab1 ,the tab1 reload again

note: i use resolver

how fix that ?

tabs



<ion-tabs>
  
  <ion-tab-bar slot="bottom">

    <ion-tab-button tab="home">
    <ion-icon name="home"></ion-icon>
    <ion-label>{{ 'Home' | translate }}</ion-label>
    <ion-router-outlet name="home"></ion-router-outlet>
    </ion-tab-button>

    <ion-tab-button tab="search">
      <ion-icon name="search"></ion-icon>
      <ion-label>{{ 'Search' | translate }}</ion-label>
      <ion-router-outlet name="search"></ion-router-outlet>
    </ion-tab-button>

    <ion-tab-button tab="profile">
      <ion-icon name="person"></ion-icon>
      <ion-label>{{ 'profile' | translate }}</ion-label>
      <ion-router-outlet name="profile"></ion-router-outlet>
    </ion-tab-button>

  </ion-tab-bar>

</ion-tabs>

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>