The Media team are aware of this issue: https://developer.apple.com/forums/thread/650741
Post
Replies
Boosts
Views
Activity
This seems to be cause by an Image that's clipped with aspectRatio fill.
Able to reproduce in iOS 14 Beta 1 (18A5301v) and in Xcode Playground 12.0 beta (12A6159)
Filed Radar: FB7811062
Drag one of the images to notice the clipped area still appearing:
struct Home: View {
let items = Array(repeating: UIImage(named: "TestImage.jpg")!, count: 10)
var body: some View {
ScrollView(.horizontal, showsIndicators: true) {
HStack {
ForEach(items, id: \.self) { item in
Image(uiImage: item)
.resizable()
.aspectRatio(contentMode: .fill)
.frame(width: 100, height: 180, alignment: .center)
.clipped()
.onDrag {
return NSItemProvider(object: NSString("Test"))
}
}
}
}
}
}
Unable to change Popover view size on iPad.Bug Report: FB7465491struct ContentView: View {
@State var showPopover: Bool = false
var body: some View {
Button(action: {
self.showPopover.toggle()
}) {
Text("View Popover")
}
.popover(isPresented: $showPopover) {
Text("Popover")
.background(Color.red)
.frame(width: 100, height: 100)
}
}
}