From f7e5dfd04e64fda4401c64395a90ba2eaa402911 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Tue, 21 Nov 2023 13:18:36 +0200 Subject: [PATCH] Prevent the composer from jumping when in reply to mode and reaching the end of the line --- .../Sources/Screens/ComposerToolbar/View/MessageComposer.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/ElementX/Sources/Screens/ComposerToolbar/View/MessageComposer.swift b/ElementX/Sources/Screens/ComposerToolbar/View/MessageComposer.swift index 5b153425b..04ed571a0 100644 --- a/ElementX/Sources/Screens/ComposerToolbar/View/MessageComposer.swift +++ b/ElementX/Sources/Screens/ComposerToolbar/View/MessageComposer.swift @@ -134,6 +134,7 @@ private struct MessageComposerReplyHeader: View { var body: some View { TimelineReplyView(placement: .composer, timelineItemReplyDetails: replyDetails) .frame(maxWidth: .infinity, alignment: .leading) + .fixedSize(horizontal: false, vertical: true) .padding(4.0) .background(.compound.bgCanvasDefault, in: RoundedRectangle(cornerRadius: 13, style: .circular)) .overlay(alignment: .topTrailing) {