ios – SwiftUI nested vertical scroll with sticky header issue


I am working on a UI something like shown in below library but in SwifUI. I am facing a prob to make child view scroll header sticky when items scrolls up and move it back down to original place when items scrolls reaches on the top

My UI is like –

  1. https://github.com/bawn/Aquaman

  2. https://github.com/warpdrives/Nesting

Would appreciate if someone can share any SwiftUI sample equivalent to above libraries or can share any other reference in SwiftUI

Tried lot of things like using List, using only Single Scroll for the parent and making parent scroll enable/disable when starts scrolling on child. But didn’t work out for me.

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img