Skip to content

Commit e5c8a42

Browse files
authored
Bug Fix: Safe Areas of FlowViews Not Interactable (#37)
1 parent 8816826 commit e5c8a42

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Sources/FlowStack/FlowStack.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,6 @@ public struct FlowStack<Root: View, Overlay: View>: View {
299299
public var body: some View {
300300
ZStack {
301301
root()
302-
.contentShape(Rectangle())
303302
.accessibilityElement(children: .contain)
304303
.accessibilityHidden(accessibilityManager.zIndex != 0)
305304
.environment(\.flowDepth, 0)
@@ -310,7 +309,6 @@ public struct FlowStack<Root: View, Overlay: View>: View {
310309
skrim(for: element)
311310

312311
destination.content(element.value)
313-
.contentShape(Rectangle())
314312
.frame(maxWidth: .infinity, maxHeight: .infinity)
315313
.id(element.hashValue)
316314
.transition(.flowTransition(with: element.context ?? .init()))

0 commit comments

Comments
 (0)