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.

Is it possible to have a different backgroundColor for the collapsed header when using largeTitle on iOS?

See original GitHub issue

I’m only aware of how to set headerTranslucent and the backgroundColor for the entire header (both the extended, large title version as well as the collapsed smaller title).

Is it possible to do something like this: RPReplay_Final1594693843

Specifically where the largeTitle is translucent (or at least has a different background color) than the collapsed header?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Appkiddcommented, Nov 10, 2021

Worked around this using navigation.setOptions and FlatList’s onScroll to swap between opaque/transparent on scroll. Will just tidy this up with a fade using Reanimated.

1reaction
davitykale-zzcommented, Jul 20, 2020

Yes! Please close. Thank you so much! Cosma Damiano Trimboli notifications@github.com wrote: “Is your issue solved, and if so, can I close it?”

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Large title navigation bar tint color - Apple Developer
I have a large title navigation bar with a custom tint color. ... bar is black when large, but goes to my custom...
Read more >
Change statusBar background color while using large title for ...
The correct way to set the background color of the UINavigationBar is to use the barTintColor property. self.navigationController?
Read more >
Ionic iOS large title background
I'd like to use the large title that introduced in ionic 5 ... do is to set a background color for the title...
Read more >
The Large Title UINavigationBar Glitches and How to Fix Them
With this simple change, you should be able to fix the unwanted snap and drag behavior. Large Title Navigation Bar Not Collapsing. Let's...
Read more >
background-color - CSS: Cascading Style Sheets | MDN
The background-color CSS property sets the background color of an element. ... for text content and 3:1 for larger text such as headings....
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