bug: primary toolbar inside header with collapse fade
See original GitHub issuePrerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
- v4.x
- v5.x
- v6.x
Current Behavior
IonToolbar with color primary not showing inside of IonHeader defined with collapse of type fade
Expected Behavior
IonToolbar should be showing inside of IonHeader no matter of his properties
Steps to Reproduce
import '@ionic/core/css/core.css'
import { IonApp, IonContent, IonHeader, IonToolbar, setupIonicReact } from '@ionic/react'
import { createRoot } from 'react-dom'
setupIonicReact()
createRoot(document.getElementById('root')).render(<IonApp>
<IonHeader collapse="fade">
<IonToolbar color="primary">my title</IonToolbar>
</IonHeader>
<IonContent>
Hello World
</IonContent>
</IonApp>)
Code Reproduction URL
No response
Ionic Info
No response
Additional Information
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Collapsing Toolbar and Fragment - Stack Overflow
I have an app that is laid out like this, the mainactivity hosts 2 tabs with accompanied fragments, the first fragment has a...
Read more >Handling Scrolls with CoordinatorLayout - CodePath Cliffnotes
Expanding or contracting the Toolbar or header space to make room for the main content. Controlling which views should expand or collapse and...
Read more >MotionLayout — Collapsing Toolbar | by Mr Umbrella
It means that the height of the toolbar doesn't change. So in order to keep the collapsed title stand still, we need to...
Read more >Flutter Tutorial - Sliver App Bar & Collapsing Toolbar [2021]
The Flutter SliverAppBar & Collapsing Toolbar allow to specify an individual scrolling behaviour for your App Bars in Flutter.
Read more >Collapsing Toolbar with RecyclerView - YouTube
In this video I show you how to implement some custom scrolling behavior for toolbars when used in the same layout as a...
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 Free
Top 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

Hello Nathan, if you have time it’d be extremely helpful to have a live code reproduction to test with and verify against. Thanks!
Thanks for the issue! This issue is being closed due to the lack of a reply. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Thank you for using Ionic!