4

I have a simple LazyVStack with a custom view. I noticed that when it is scrolled under the navigation bar the view disappears prematurely. Is there a good work around of this besides to disable scrolling when it is not needed? I have attached an animated gif of the issue.

  NavigationView {
        ZStack {
            ScrollView {
                LazyVStack {
                    ForEach(model.wallets, id: \.id) { wallet in
                        GalleryCell(wallet: wallet)
                    }
                }
            }

enter image description here

1
  • Were you able to find a solution? Thank you Commented Feb 2, 2024 at 1:33

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.