photo view ignores bottom edge of safe area (#1708)
This commit is contained in:
parent
a86048de33
commit
330aa93437
|
@ -17,10 +17,12 @@ public struct MediaUIView: View, @unchecked Sendable {
|
|||
DisplayView(data: $0)
|
||||
.containerRelativeFrame([.horizontal, .vertical])
|
||||
.id($0)
|
||||
.safeAreaPadding($0.type == .av ? [.bottom] : [])
|
||||
}
|
||||
}
|
||||
.scrollTargetLayout()
|
||||
}
|
||||
.ignoresSafeArea(.all, edges: .bottom)
|
||||
.focusable()
|
||||
.focused($isFocused)
|
||||
.focusEffectDisabled()
|
||||
|
|
Loading…
Reference in New Issue