SwiftUI with Auto Hiding Header View

Hello Everyone,

I would like to build a List with autohiding custom header. This header should autohide similar to search field.

Can some one let me know how can we achieve this with SwiftUI. I've seen Whatsapp it does the job with search field.

https://stackoverflow.com/questions/70198587/how-does-not-hide-the-search-bar-when-scrolling-swiftui

-Janakiram

SwiftUI with Auto Hiding Header View
 
 
Q