Working on Day 85 of #100DaysOfSwiftUI, I can't figure out how to have list selection but prevent tapping a list item navigation link from being "selected" after going back to the list view. I tried passing an optional binding to the underlying list but that didn't work either. Ideally the list would only be in "selection mode" after clicking the edit button. #SwiftUI
Demo of the issue in the simulator. You can see the “delete selected” bottom bar button that becomes available on selection. When navigating and the back, you can see the “delete selected” button is showing and clicking into edit mode shows the row as selected.
100DaysofSwift/HotProspects/HotProspects/ProspectsView.swift at main · mrhanlon/100DaysofSwift

Contribute to mrhanlon/100DaysofSwift development by creating an account on GitHub.

GitHub