Crash when navigating back to view with NavigationStack #2631
Closed
joelsifres
started this conversation in
Beta
Replies: 1 comment 4 replies
-
I've noticed that when running the app, the |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried implementing navigation using NavigationStack and found a crash
Swift/ContiguousArrayBuffer.swift:600: Fatal error: Index out of range
when going back to the root screen from the screen that was pushed. The repo can be found here.This is the View holding the NavigationStack as well as its Reducer (omitting some unnecessary code that can be seen in the repo):
And this is the RootView holding the MediaListView, as well as its Reducer:
Beta Was this translation helpful? Give feedback.
All reactions