Setting translucent="true" not working for ion-tab-bar
See original GitHub issueBug 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:
- Created 5 years ago
- Reactions:8
- Comments:25 (7 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
I am having the same issue with Ionic 4.6.0