Post

Replies

Boosts

Views

Activity

Reply to SwiftUI NavigationLink in List on iOS 14
I have found that adding an offset AND background to the list causes the problem. Simple code to show the problem (this has been submitted to Feedback). import SwiftUI struct ContentView: View {     var body: some View {             NavigationView {                 List {                     NavigationLink ("Test1", destination: Text("Test1"))                     NavigationLink ("Test2", destination: Text("Test2"))                 }                 .background(Color(UIColor.secondarySystemBackground))                 .offset(x: 0, y: 20)             }         } }
Jan ’21