We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37259f7 commit 8cdc232Copy full SHA for 8cdc232
Sources/FlowStacks/Node.swift
@@ -99,10 +99,7 @@ indirect enum Node<Screen, V: View>: View {
99
/// on the same view, so we conditionally add the sheet/cover modifiers as a workaround. See
100
/// https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-14_5-release-notes
101
if #available(iOS 14.5, *) {
102
- // We wrap the screenView in a ZStack to ensure the NavigationLink is attached
103
- // to something with a stable identity.
104
- // https://github.com/johnpatrickmorgan/FlowStacks/discussions/57#discussioncomment-6276362
105
- ZStack { screenView }
+ screenView
106
.background(
107
NavigationLink(destination: next, isActive: pushBinding, label: EmptyView.init)
108
.hidden()
0 commit comments