diff --git a/Tusker/Views/ContentTextView.swift b/Tusker/Views/ContentTextView.swift index 3b90e3c48f..9a54da00a5 100644 --- a/Tusker/Views/ContentTextView.swift +++ b/Tusker/Views/ContentTextView.swift @@ -334,6 +334,7 @@ extension ContentTextView: UIContextMenuInteractionDelegate { // Create a dummy containerview for the snapshot view, since using a view with a CALayer mask and UIPreviewParameters(textLineRects:) // causes the mask to be ignored. See FB7832297 let snapshotContainer = UIView(frame: snapshot.bounds) + snapshotContainer.backgroundColor = .systemBackground snapshotContainer.addSubview(snapshot) let preview = UITargetedPreview(view: snapshotContainer, parameters: parameters, target: target)