NavigationLink highlighting is broken when used with NavigationStack

Originator:lredpath
Number:rdar://FB10048705 Date Originated:7 June 2022
Status:Open Resolved:
Product:SwiftUI Product Version:14.0b1
Classification: Reproducible:
 
Since early versions of iOS, the default behaviour for links inside a list view including UITableView, UICollectionView with the new list style APIs and a SwiftUI List, tapping a row would highlight the row before navigating and only unhighlight the row when navigating back - this provides a visual hint as to where you have just navigated back from. 

In iOS 14b1, using tapping a NavigationLink inside the new NavigationStack does not exhibit this behaviour - the list row highlight is removed immediately on taping the row before the navigation transition begins. In fact, unless you tap and hold on the row momentarily you might not even see the row highlight at all, breaking a longstanding UI convention on iOS.

Navigation links inside a NavigationView continue to exhibit the correct behaviour.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!