From 248d0a5570c99de2a195fd3b767d0af6722d99fc Mon Sep 17 00:00:00 2001 From: Marcus Kida Date: Tue, 29 Nov 2022 11:51:28 +0100 Subject: [PATCH] fix: Text in compose post is not selectable, focussable, pastable --- .../Scene/ComposeContent/Attachment/AttachmentView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/Attachment/AttachmentView.swift b/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/Attachment/AttachmentView.swift index 9346c3bee..edf05b49c 100644 --- a/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/Attachment/AttachmentView.swift +++ b/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/Attachment/AttachmentView.swift @@ -30,6 +30,7 @@ public struct AttachmentView: View { Image(uiImage: image) .resizable() .aspectRatio(contentMode: .fill) + .allowsHitTesting(false) } ) .overlay(