Support for iOS 11 style headers!
Is it possible to change the background color on scroll? Or is there a way to access a trigger when it switches so I can create a blurView behind it only when it's smaller?
You can get iOS largeTitle with the new native stack: https://reactnavigation.org/blog/2019/10/17/react-navigation-native.html
@satya164: great! It works nice! Is there any option to add a native iOS searchbar (UISearchBar or UISearchController) in the header and made it collapsible too?
What is the ETA for a production ready version of the native stack?
@satya164: Working really well for me. Thanks so much for all your hard work.
Please. Hurry up.
I made a component that will provide the large header on a single screen (note that it does not integrate with navigation or do cross-route animations). It might do what you need.
Jon Samp, Expo contributor, has made this feature! https://github.com/jonsamp/react-native-header-scroll-view
Made an issue here, anyone want to tackle integrating into react-navigation? https://github.com/jonsamp/react-native-header-scroll-view/issues/2
Found an alternative here: https://github.com/zobeirhamid/react-native-scrollable-navigation-bar
hello! we have no plans to implement this. you may want to build it on your own (it will be difficult to get the transitions right) or use react-native-navigation instead if you need this.
I just made and published 'react-navigation-collapsible' module. It’s HOC component, so you can make your current 'react-navigation' collapsible by adding only a few lines.
Check this out. :)
@Bright Lee: nice!
@Bright Lee: but this module completely ruins my navigation options.
@Brent Vatne Is there any ETA?
@Joy: hi! there is not. we are not working on this currently -- we're working on finishing up 2.0 and then we'll finalize our 3.0 roadmap (tentatively here: https://github.com/react-navigation/react-navigation/issues/3686)
@Brent Vatne: Thanks for your response. I'll keep looking at roadmap.
And not just fixed large headers, but also the scroll & shrink functionality!
@Frederic Barthelemy yea i really need this feature right now!