Translucent Tabs Ionic 4

Has anyone been able to get the tab bar translucent on ionic 4? The following doesn’t seem to work. I have the header working as translucent. I have also set ion-content to fullscreen.

<ion-tab-bar slot="bottom" translucent="true">

Anybody else have this problem?

Got the same problem. “translucent” attribute is not working for ion-tab-bar!

QuickFix for iOS (marking of the active tab is missing, but can be done manually):


  <div class="tabs">
    <ion-tab-button tab="tab1">
      <ion-icon name="flash"></ion-icon>
      <ion-label>Tab One</ion-label>

    <ion-tab-button tab="tab2">
      <ion-icon name="apps"></ion-icon>
      <ion-label>Tab Two</ion-label>

    <ion-tab-button tab="tab3">
      <ion-icon name="send"></ion-icon>
      <ion-label>Tab Three</ion-label>

.tabs {
    position: absolute;
    bottom: 0px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: rgb(140, 140, 140);
    background-color: rgba(255, 255, 255, 0.8);
1 Like

Add class inside <ion-tab-bar> like this <ion-tab-bar slot="bottom" class="tabs" translucent="true" > don’t use div class, it worked for me

Thank you ! worked like charm