title: SwiftUI - Navigation View opening with Back button and half grey screen / weird behavior
body: <p>I am trying to add navigation view to my app, but it is causing issues. My main UI is an infinitely swipe-able carousel of pages. It originally looks like this: <a href="https://i.stack.imgur.com/gw55t.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gw55t.png" alt="swipable pages without navigation view" /></a></p>
  <p>Then when I wrap it in a navigation view, it opens like this, with a back button and nothing else: <a href="https://i.stack.imgur.com/Le0DS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Le0DS.png" alt="enter image description here" /></a></p>
  <p>When I hit the back button, it looks like this:<a href="https://i.stack.imgur.com/g5dIG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g5dIG.png" alt="enter image description here" /></a></p>
  <p>The left side is swipe-able like the original UI, but when I touch the right, grey side, it takes me back to the empty page with the back button.</p>
  <p>Any idea what may be causing this? I implemented the infinite carousel by putting each page in a ZStack, and using offsets/relativeLocation. I referred to this tutorial:
  <a href="https://www.youtube.com/watch?v=fB5MzDD1PZI" rel="nofollow noreferrer">https://www.youtube.com/watch?v=fB5MzDD1PZI</a></p>
  <p>Can I not use a NavigationView? Is there an alternative route I can take in which I create my own top NavBar and navigate to separate views without NavigationBar/NavigationLink?</p>
  <p>Any help is appreciated and please feel free to ask questions, etc. Thanks!</p>