From 6a39bac0e10577d7c3cf10c10a8a2650217ec532 Mon Sep 17 00:00:00 2001 From: Austin Wang Date: Mon, 30 Mar 2026 03:05:48 -0700 Subject: [PATCH] Fix update error details dialog overflow (#2359) --- Sources/Update/UpdatePopoverView.swift | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Sources/Update/UpdatePopoverView.swift b/Sources/Update/UpdatePopoverView.swift index 88c249f7..5642bf91 100644 --- a/Sources/Update/UpdatePopoverView.swift +++ b/Sources/Update/UpdatePopoverView.swift @@ -469,11 +469,15 @@ fileprivate struct UpdateErrorView: View { VStack(alignment: .leading, spacing: 6) { Text(String(localized: "update.popover.details", defaultValue: "Details")) .font(.system(size: 11, weight: .semibold)) - Text(details) - .font(.system(size: 10, design: .monospaced)) - .foregroundColor(.secondary) - .fixedSize(horizontal: false, vertical: true) - .textSelection(.enabled) + ScrollView(.vertical) { + Text(details) + .font(.system(size: 10, design: .monospaced)) + .foregroundColor(.secondary) + .fixedSize(horizontal: false, vertical: true) + .frame(maxWidth: .infinity, alignment: .leading) + .textSelection(.enabled) + } + .frame(maxHeight: 300) } HStack(spacing: 8) {