question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Setting translucent="true" not working for ion-tab-bar

See original GitHub issue

Bug Report

Ionic version:

[x] 4.0.2

Current behavior:

Setting translucent effect doesn’t work on ion-tab-bar. Expected behavior:

“Frozen glass” effect on ion-tab-bar on iOS.

Steps to reproduce:

Setting ion-tab-bar with translucent=“true” and adding content to the page to make it scrollable. Then test and see if you can see the content scrolling under the tab bar.

Related code:

<ion-tabs>

  <ion-tab-bar translucent slot="bottom" >
    <ion-tab-button tab="news">
      <ion-icon name="paper"></ion-icon>
      <ion-label>News</ion-label>
    </ion-tab-button>

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

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

</ion-tabs>

Other information:

Ionic info:


Ionic:

   ionic (Ionic CLI)             : 4.10.3 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.2
   @angular-devkit/build-angular : 0.12.4
   @angular-devkit/schematics    : 7.2.4
   @angular/cli                  : 7.2.4
   @ionic/angular-toolkit        : 1.4.0

Capacitor:

   capacitor (Capacitor CLI) : 1.0.0-beta.17
   @capacitor/core           : 1.0.0-beta.17

System:

   NodeJS : v8.11.3 (/usr/local/Cellar/node@8/8.11.3_1/bin/node)
   npm    : 5.6.0
   OS     : macOS Mojave

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:8
  • Comments:25 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
quanganh206commented, Jun 21, 2019

Same issue here. I dig into it and find out even with fullscreen content that content scroll not scroll under ther tabbar so there is no translucent for it.

3reactions
pauldunncommented, Jul 28, 2019

I am having the same issue with Ionic 4.6.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting translucent="true" not working for ion-tab-bar #17676
Current behavior: Setting translucent effect doesn't work on ion-tab-bar. Expected behavior: "Frozen glass" effect on ion-tab-bar on iOS.
Read more >
Translucent Tabs 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=" ...
Read more >
Translucent Tabs in Ionic 4 - DEV Community ‍ ‍
Add the translucent property binding on the ion-tab-bar to be true to enable the styling presets set by the Ionic Core team.
Read more >
How to avoid hiding of last item behind ion-tab-bar in Ionic?
The solution was quite simple, I took the entire content code in div and gave it margin-bottom of 50px.
Read more >
Latest topics - Ionic Forum
Hey, i have some problem with Native Page Transitions. here is my code. home.page.html <ion-footer> <ion-tabs> <ion-tab-bar slot="bottom" > ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found