Prevent the composer from jumping when in reply to mode and reaching the end of the line

This commit is contained in:
Stefan Ceriu
2023-11-21 13:18:36 +02:00
committed by Stefan Ceriu
parent 7f65dfee60
commit f7e5dfd04e
@@ -134,6 +134,7 @@ private struct MessageComposerReplyHeader: View {
var body: some View { var body: some View {
TimelineReplyView(placement: .composer, timelineItemReplyDetails: replyDetails) TimelineReplyView(placement: .composer, timelineItemReplyDetails: replyDetails)
.frame(maxWidth: .infinity, alignment: .leading) .frame(maxWidth: .infinity, alignment: .leading)
.fixedSize(horizontal: false, vertical: true)
.padding(4.0) .padding(4.0)
.background(.compound.bgCanvasDefault, in: RoundedRectangle(cornerRadius: 13, style: .circular)) .background(.compound.bgCanvasDefault, in: RoundedRectangle(cornerRadius: 13, style: .circular))
.overlay(alignment: .topTrailing) { .overlay(alignment: .topTrailing) {