The navigation title color is wrong (dark on dark background) when applying hard scrolledgeeffectstyle.
Illustrated by code example. In simulator or physical device.
Changing scrollEdgeEffectStyle to soft resolves the issue. As does changing the listStyle.
@main
struct AppView: App {
var body: some Scene {
WindowGroup {
NavigationSplitView {
NavigationStack {
Section {
NavigationLink(destination: OptionsView()) {
Label("More Options", systemImage: "gearshape")
}
.isDetailLink(false)
} header: {
Text("WITH OPTIONS").bold()
}
.navigationTitle("TESTING")
}
} detail: {
Text("DETAIL")
}
.preferredColorScheme(.dark)
}
}
}
struct OptionsView: View {
var body: some View {
List {
Text("List Item")
}
.listStyle(.plain)
.navigationTitle("MORE OPTIONS TITLE")
.scrollEdgeEffectStyle(.hard, for: .all)
}
}
Submittted FB20811402
Bug appears in Landscape mode for iPhone only. Any orientation for iPad.