title: SwiftUI NavigationBarItems slideBack freezes app
body: <p>My <code>HomeView</code> (where I store list of <code>Movies</code>) has <code>NavigationView</code> and <code>NavigationLink</code> with destination to <code>DetailView</code>.</p>
  
  <p>When I want to add <code>NavigationBarItems</code> in my <code>DetailView</code>, it makes my <em>GoBack Slide</em> (from <code>DetailView</code> to <code>HomeView</code>) useless. The app freezes when I stop sliding in ~1/3 of screen.</p>
  
  <p>I don't have additional <code>NavigationView</code> in <code>DetailView</code>, because when I had it I had it doubled in <code>DetailView</code>.</p>
  
  <p>I found lines of code which ruins everything.</p>
  
  <p>It's part with <code>NavigationBarItems</code>:</p>
  
  <pre><code>.navigationBarItems(trailing: Button(action: {
      self.showingEditScreen.toggle()
  }) {
      Image(systemName: "pencil")
      .imageScale(.large)
      .accessibility(label: Text("Edit Movie"))
      .padding()
  })
  </code></pre>
  
  <p>And <code>HomeView</code>: </p>
  
  <pre><code>struct HomeView: View {
      @Environment(\.managedObjectContext) var moc
  
      @FetchRequest(entity: Movie.entity(), sortDescriptors: [
          NSSortDescriptor(keyPath: \Movie.title, ascending: true),
          NSSortDescriptor(keyPath: \Movie.director, ascending: true)
      ]) var movies: FetchedResults&lt;Movie&gt;
  
      @State private var showingAddScreen = false
  
      func deleteMovie(at offsets: IndexSet) {
          for offset in offsets {
  
              let movie = movies[offset]
  
              moc.delete(movie)
          }
          try? moc.save()
      }
  
  
      var body: some View {
          NavigationView {
              List {
                  ForEach(movies, id: \.self) { movie in
                      NavigationLink(destination: DetailMovieView(movie: movie)) {
                          EmojiRatingView(rating: movie.rating)
                              .font(.largeTitle)
                          VStack(alignment: .leading) {
                              Text(movie.title ?? "Unknown Title")
                                  .font(.headline)
                              Text(movie.director ?? "Unknown Director")
                                  .foregroundColor(.secondary)
                          }
                      }
                  }
                  .onDelete(perform: deleteMovie)
              }
              .navigationBarTitle("Movie Store")
              .navigationBarItems(leading: EditButton(), trailing: Button(action: {
                  self.showingAddScreen.toggle()
              }) {
                  Image(systemName: "plus")
                      .imageScale(.large)
                      //.accessibility(label: Text("Add Movie"))
                      .padding()
              })
                  .sheet(isPresented: $showingAddScreen) {
                      AddMovieView().environment(\.managedObjectContext,     self.moc)
              }
          }
      }
  }
  </code></pre>